diff options
Diffstat (limited to 'server/src/pracrodaopgsql.h')
-rw-r--r-- | server/src/pracrodaopgsql.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/server/src/pracrodaopgsql.h b/server/src/pracrodaopgsql.h index c943e93..e21d39c 100644 --- a/server/src/pracrodaopgsql.h +++ b/server/src/pracrodaopgsql.h @@ -67,10 +67,12 @@ public: 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: pqxx::connection *conn; |