diff options
author | deva <deva> | 2010-06-01 12:58:32 +0000 |
---|---|---|
committer | deva <deva> | 2010-06-01 12:58:32 +0000 |
commit | 74a28aa7125be6a603128ad600c98c4882f3b5c2 (patch) | |
tree | 1a9e4ab74f29d5ff10f2701e4e112f4525c0dcec /server/src/queryhandlerpentominos.h | |
parent | 9b9c1e2dd3e5807ff7714b378b03b9ba31f42df7 (diff) |
From new_protocol branch.
Diffstat (limited to 'server/src/queryhandlerpentominos.h')
-rw-r--r-- | server/src/queryhandlerpentominos.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/server/src/queryhandlerpentominos.h b/server/src/queryhandlerpentominos.h index 53b01ad..b96c097 100644 --- a/server/src/queryhandlerpentominos.h +++ b/server/src/queryhandlerpentominos.h @@ -29,29 +29,30 @@ #include "queryhandler.h" +#include "artefact.h" #include "template.h" #include "queryresult.h" +#include <vector> #include <string> -#include <libartefact.h> - /** * This class handles the query of external data. */ class QueryHandlerPentominos : public QueryHandler { public: - QueryHandlerPentominos(std::string cpr); - ~QueryHandlerPentominos(); + QueryHandlerPentominos(Artefact &artefact, + std::string patientid, + std::string user); + ~QueryHandlerPentominos() {} // Execute all queries. QueryResult exec(Query &query); private: - atf_handle_t *atfh; - atf_connection_t *atfc; - - std::string cpr; + Artefact &artefact; + std::string patientid; + std::string user; }; #endif/*__PRACRO_QUERYHANDLERPENTOMINOS_H__*/ |