diff options
author | deva <deva> | 2010-06-10 07:03:06 +0000 |
---|---|---|
committer | deva <deva> | 2010-06-10 07:03:06 +0000 |
commit | 198b0d886817f2c5bc97cfd11857d4b314dffae3 (patch) | |
tree | 4fc2d51de46ab69b9e67149abf0ab6a332032f27 /server/src/session.h | |
parent | 730eb796bbce6f124be9194f1565b7dda1daddf1 (diff) |
Add transaction support on database pr. pracro session. Makes it possible to discard all edited macros.
Diffstat (limited to 'server/src/session.h')
-rw-r--r-- | server/src/session.h | 3 |
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; }; |