summaryrefslogtreecommitdiff
path: root/server/src/pracrodao.h
diff options
context:
space:
mode:
authordeva <deva>2009-07-10 09:59:41 +0000
committerdeva <deva>2009-07-10 09:59:41 +0000
commita619ccc300a00947207600e11fac848b7d37b26b (patch)
tree1fcfef3cdde2f176368b7a15f795a0ad5508687b /server/src/pracrodao.h
parentca32aba4df1b021b1acaa8f0650fa6a0cd7b9d80 (diff)
Fieldname queries added macrotool.
Diffstat (limited to 'server/src/pracrodao.h')
-rw-r--r--server/src/pracrodao.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/src/pracrodao.h b/server/src/pracrodao.h
index 7924d3d..1ef9686 100644
--- a/server/src/pracrodao.h
+++ b/server/src/pracrodao.h
@@ -29,6 +29,7 @@
#define __PRACRO_PRACRODAO_H__
#include <string>
+#include <vector>
#include "dbtypes.h"
#include "template.h"
@@ -44,6 +45,10 @@ public:
virtual Values getLatestValues(std::string patientid, Macro *macro, Fieldnames &fieldnames, time_t oldest) = 0;
virtual unsigned nrOfCommits(std::string patientid, std::string macroname, time_t oldest) = 0;
+ virtual void addFieldname(std::string name, std::string description) = 0;
+ virtual void delFieldname(std::string name) = 0;
+ virtual std::vector<Fieldname> getFieldnames() = 0;
+
protected:
std::string host;
std::string port;