summaryrefslogtreecommitdiff
path: root/src/procman-app.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/procman-app.h')
-rw-r--r--src/procman-app.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/procman-app.h b/src/procman-app.h
new file mode 100644
index 0000000..50a9666
--- /dev/null
+++ b/src/procman-app.h
@@ -0,0 +1,23 @@
+#ifndef _PROCMAN_PROCMAN_APP_H_
+#define _PROCMAN_PROCMAN_APP_H_
+
+#include <gtkmm.h>
+#include <gdk/gdkx.h>
+
+#include "procman.h"
+
+class ProcmanApp : public Gtk::Application
+{
+ ProcData *procdata;
+protected:
+ ProcmanApp();
+public:
+ static Glib::RefPtr<ProcmanApp> create ();
+protected:
+ virtual void on_activate();
+ virtual int on_command_line(const Glib::RefPtr<Gio::ApplicationCommandLine>& command_line);
+ virtual void on_startup();
+ virtual void on_shutdown();
+};
+
+#endif /* _PROCMAN_PROCMAN_APP_H_ */