aboutsummaryrefslogtreecommitdiff
path: root/include/Window.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/Window.hpp')
-rw-r--r--include/Window.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/Window.hpp b/include/Window.hpp
index 4c67a68..a29ec62 100644
--- a/include/Window.hpp
+++ b/include/Window.hpp
@@ -5,7 +5,7 @@
#include <gtkmm/window.h>
#include <gtkmm/stack.h>
#include <gtkmm/overlay.h>
-#include <odhtdb/Database.hpp>
+#include <dchat/Room.hpp>
#include <mutex>
#include <random>
#include <vector>
@@ -26,7 +26,7 @@ namespace dchat
void draw(const Cairo::RefPtr<Cairo::Context> &cairo) { Gtk::Overlay::draw(cairo); }
};
- std::unique_ptr<odhtdb::Database> database;
+ std::shared_ptr<Rooms> rooms;
std::mutex databaseCallbackMutex;
OverlayDrawable overlay;
Gtk::Stack stack;