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