summaryrefslogtreecommitdiff
path: root/server/src/database.h
diff options
context:
space:
mode:
authordeva <deva>2008-09-22 12:17:51 +0000
committerdeva <deva>2008-09-22 12:17:51 +0000
commit1b9cf53926a6627b9f8ed00a8dc1f4a784e6f295 (patch)
tree1a82a8e8ff50cc9d71e04867ca942e187605a1d9 /server/src/database.h
parent8352be99474fbbeed5795e8610b3d9a23e38b1cd (diff)
Added resume storing to the db, and made the outputted xml use it. Added captions to the macro tags from the window-tag caption attribute. Made all template attributes fall through to the client.
Diffstat (limited to 'server/src/database.h')
-rw-r--r--server/src/database.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/server/src/database.h b/server/src/database.h
index 332907f..684cd6c 100644
--- a/server/src/database.h
+++ b/server/src/database.h
@@ -71,6 +71,18 @@ public:
bool checkMacro(std::string cpr,
std::string macro,
time_t oldest = 0);
+
+ // Put an entry in the journal table
+ void putJournal(std::string user,
+ std::string cpr,
+ Macro &_macro,
+ std::string resume,
+ time_t now);
+
+ // Get latest resume of a given macro
+ std::string getResume(std::string cpr,
+ std::string macro,
+ time_t oldest);
// Connect to the db
void connect() {}