summaryrefslogtreecommitdiffstats
path: root/Instance.h
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2008-04-06 15:29:03 +0200
committerneoraider <devnull@localhost>2008-04-06 15:29:03 +0200
commit356efaf89afdad141b313767e1a2b89de3c08d0a (patch)
tree37edb2a0fc0ea15f4f60e45ed411cbea7b4c12c5 /Instance.h
parent258eb984bafe0f667d1e76de61c8afaa23f39ef4 (diff)
downloadzoomedit-356efaf89afdad141b313767e1a2b89de3c08d0a.tar
zoomedit-356efaf89afdad141b313767e1a2b89de3c08d0a.zip
zoomedit: Recreated ZoomEdit based on Glademm.
Diffstat (limited to 'Instance.h')
-rw-r--r--Instance.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/Instance.h b/Instance.h
new file mode 100644
index 0000000..dad9e23
--- /dev/null
+++ b/Instance.h
@@ -0,0 +1,29 @@
+#ifndef ZOOMEDIT_INSTANCE_H_
+#define ZOOMEDIT_INSTANCE_H_
+
+#include <gtkmm/main.h>
+#include <libglademm/xml.h>
+#include "Gui/Window.h"
+
+namespace ZoomEdit {
+
+class Instance {
+ public:
+ virtual ~Instance();
+
+ static bool create();
+
+ private:
+ static guint instances;
+
+ Glib::RefPtr<Gnome::Glade::Xml> xml;
+ Gui::Window *window;
+
+ Instance();
+
+ void destroy();
+};
+
+}
+
+#endif /*ZOOMEDIT_INSTANCE_H_*/