diff options
Diffstat (limited to 'server/src/pracrodaotest.h')
-rw-r--r-- | server/src/pracrodaotest.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/server/src/pracrodaotest.h b/server/src/pracrodaotest.h index 981b6d5..ac7ea2e 100644 --- a/server/src/pracrodaotest.h +++ b/server/src/pracrodaotest.h @@ -100,13 +100,15 @@ public: void delFieldname(std::string name); std::vector<Fieldname> getFieldnames(); - void commit(std::string sessionid) {} - void nocommit(std::string sessionid) {} - void discard(std::string sessionid) {} + void commit(std::string sessionid); + void nocommit(std::string sessionid); + void discard(std::string sessionid); + std::string serialise() { return ""; } void restore(const std::string &data) {} - bool active(std::string sessionid); - void setActive(std::string sessionid, bool active); + + bool idle(std::string sessionid); + void setIdle(std::string sessionid, bool idle); private: Data data; |