diff options
Diffstat (limited to 'server/src/pracrodaotest.h')
-rw-r--r-- | server/src/pracrodaotest.h | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/server/src/pracrodaotest.h b/server/src/pracrodaotest.h index 8dd4655..9278b3f 100644 --- a/server/src/pracrodaotest.h +++ b/server/src/pracrodaotest.h @@ -77,14 +77,28 @@ public: PracroDAOTest(Data &data, bool ignore_fieldnames = false); ~PracroDAOTest(); - void commitTransaction(std::string user, std::string patientid, Macro ¯o, Fields &fields, time_t now); - Values getLatestValues(std::string patientid, Macro *macro, Fieldnames &fieldnames, time_t oldest); - unsigned nrOfCommits(std::string patientid, std::string macroname, time_t oldest); + void commitTransaction(std::string user, + std::string patientid, + Macro ¯o, + Fields &fields, + time_t now); + Values getLatestValues(std::string patientid, + Macro *macro, + Fieldnames &fieldnames, + time_t oldest); + unsigned nrOfCommits(std::string patientid, + std::string macroname, + time_t oldest); void addFieldname(std::string name, std::string description); void delFieldname(std::string name); std::vector<Fieldname> getFieldnames(); + void commit() {} + void discard() {} + std::string serialise() { return ""; } + void restore(const std::string &data) {} + private: Data data; bool ignore_fieldnames; |