diff options
author | deva <deva> | 2010-01-18 14:27:41 +0000 |
---|---|---|
committer | deva <deva> | 2010-01-18 14:27:41 +0000 |
commit | c96a2e557f0a9322c9369a06041e894cc2f11e93 (patch) | |
tree | 090048d431aa41b26de0332f120d48c8225c4abf /server/src/artefact.h | |
parent | 2f38783e005e43efd66727371fb0607ca9dfee29 (diff) |
Make use of libartefact. Not yet tested...
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__*/ |