summaryrefslogtreecommitdiff
path: root/server/src/journal.h
diff options
context:
space:
mode:
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;