diff options
Diffstat (limited to 'server/src/artefact.h')
-rw-r--r-- | server/src/artefact.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/server/src/artefact.h b/server/src/artefact.h index 15dcaa0..7eb1a6b 100644 --- a/server/src/artefact.h +++ b/server/src/artefact.h @@ -28,15 +28,23 @@ #ifndef __PRACRO_ARTEFACT_H__ #define __PRACRO_ARTEFACT_H__ -// TODO: use libartefact here... +#include "template.h" +#include "queryresult.h" -#include "tcpsocket.h" +#include <libartefact.h> class Artefact { public: Artefact(); + ~Artefact(); - TCPSocket socket; + QueryResult exec(Query &query, + std::string patientid, + std::string user); + +private: + atf_handle_t *atfh; + atf_connection_t *conn; }; #endif/*__PRACRO_ARTEFACT_H__*/ |