summaryrefslogtreecommitdiff
path: root/server/src/pracrodaopgsql.h
diff options
context:
space:
mode:
authordeva <deva>2011-02-17 12:35:46 +0000
committerdeva <deva>2011-02-17 12:35:46 +0000
commited24baca8576c0516db07dbe904f9567a65c37c3 (patch)
tree569e8c7944c5f9d7f513670af212dc75c110e771 /server/src/pracrodaopgsql.h
parentdb144840aba95affb3a6b5b2536059f49f0677ff (diff)
'Renamed' active/setActive methods to idle/setIdle, since these names makes more sence.
Diffstat (limited to 'server/src/pracrodaopgsql.h')
-rw-r--r--server/src/pracrodaopgsql.h6
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;