summaryrefslogtreecommitdiffstats
path: root/src/Instance.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Instance.h')
-rw-r--r--src/Instance.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/Instance.h b/src/Instance.h
new file mode 100644
index 0000000..c37a959
--- /dev/null
+++ b/src/Instance.h
@@ -0,0 +1,33 @@
+#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();
+
+ // Prevent shallow copy
+ Instance(const Instance &o);
+ Instance& operator=(const Instance &o);
+};
+
+}
+
+#endif /*ZOOMEDIT_INSTANCE_H_*/