aboutsummaryrefslogtreecommitdiff
path: root/include/Window.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-11-01 07:17:49 +0100
committerdec05eba <dec05eba@protonmail.com>2018-11-01 07:17:52 +0100
commit0469c43a45310b6b92eb704773e3a34beb57f288 (patch)
tree3d79b563fdc99a18f29bf65a8b293fecca8b7a4a /include/Window.hpp
parenta535703add6bf29878845cb270997514489cfc16 (diff)
Move room code to dchat_core, add ability to send messages
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;