summaryrefslogtreecommitdiff
path: root/server/src/journal.h
diff options
context:
space:
mode:
authordeva <deva>2011-03-28 07:52:12 +0000
committerdeva <deva>2011-03-28 07:52:12 +0000
commitee1acb551b20a62be9bbb4de84d5a9f57f83908a (patch)
tree9a4a6499df2518c3425da7e3af71c12ec00562b1 /server/src/journal.h
parent93de7f375842c0afb72db8796c45bfda5f1a6f13 (diff)
Split up journal commits on multiple users.
Diffstat (limited to 'server/src/journal.h')
-rw-r--r--server/src/journal.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/server/src/journal.h b/server/src/journal.h
index fe1a4bd..573f252 100644
--- a/server/src/journal.h
+++ b/server/src/journal.h
@@ -45,7 +45,8 @@ public:
void addEntry(Transaction &transaction, Commit &commit,
std::string resume, Template *templ);
- void addEntry(std::string resume, std::string macro, int index);
+ void addEntry(std::string resume, std::string macro,
+ std::string user, int index);
virtual void commit() = 0;
@@ -54,9 +55,6 @@ public:
void setDirty(std::string macro);
bool dirty(std::string macro);
-
- void setUser(std::string user);
- std::string user();
void setPatientID(std::string id);
std::string patientID();
@@ -66,10 +64,10 @@ protected:
public:
std::string resume;
std::string macro;
+ std::string user;
bool dirty;
};
- std::string _user;
std::string _patientid;
std::map< int, ResumeEntry > entrylist;