summaryrefslogtreecommitdiff
path: root/server/src/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/session.h')
-rw-r--r--server/src/session.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/src/session.h b/server/src/session.h
index 6c614c7..cd13aa8 100644
--- a/server/src/session.h
+++ b/server/src/session.h
@@ -33,6 +33,7 @@
#include "mutex.h"
+class Database;
class JournalWriter;
class Session {
@@ -49,9 +50,11 @@ public:
void discard();
JournalWriter *journal();
+ Database *database();
private:
JournalWriter *_journal;
+ Database *_database;
std::string _id;
Mutex mutex;
};