aboutsummaryrefslogtreecommitdiff
path: root/include/Window.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/Window.hpp')
-rw-r--r--include/Window.hpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/Window.hpp b/include/Window.hpp
new file mode 100644
index 0000000..2810bbd
--- /dev/null
+++ b/include/Window.hpp
@@ -0,0 +1,20 @@
+#pragma once
+
+#include "ChatWindow.hpp"
+#include "LoginWindow.hpp"
+#include <gtkmm/window.h>
+#include <gtkmm/stack.h>
+
+namespace dchat
+{
+ class Window : public Gtk::Window
+ {
+ public:
+ Window();
+ virtual ~Window();
+ protected:
+ Gtk::Stack stack;
+ LoginWindow loginWindow;
+ ChatWindow chatWindow;
+ };
+} \ No newline at end of file