summaryrefslogtreecommitdiffstats
path: root/WindowManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'WindowManager.h')
-rw-r--r--WindowManager.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/WindowManager.h b/WindowManager.h
new file mode 100644
index 0000000..20829e5
--- /dev/null
+++ b/WindowManager.h
@@ -0,0 +1,24 @@
+#ifndef WINDOWMANAGER_H_
+#define WINDOWMANAGER_H_
+
+#include <list>
+#include <gtk/gtk.h>
+#include <gtk/gtkgl.h>
+#include "Window.h"
+
+
+class WindowManager {
+ private:
+ GdkGLConfig *glconfig;
+ std::list<Window*> windows;
+
+ public:
+ WindowManager(GdkGLConfig *glconfig);
+ virtual ~WindowManager();
+
+ void run();
+
+ void windowClosed(Window *window);
+};
+
+#endif /*WINDOWMANAGER_H_*/