summaryrefslogtreecommitdiff
path: root/server/src/queryhandlerpentominos.h
diff options
context:
space:
mode:
authordeva <deva>2010-02-17 14:43:14 +0000
committerdeva <deva>2010-02-17 14:43:14 +0000
commitce52eeb9ee3732aa4c88cfd2c70feea8e911e1ff (patch)
tree0e3faf0a7a4793f89784e184cf68fb5f02b03844 /server/src/queryhandlerpentominos.h
parent548e71d6b1d5ed7aac7e2c90f5cc9250210ac2fc (diff)
Use libartefact for pentominos data retrieval.
Diffstat (limited to 'server/src/queryhandlerpentominos.h')
-rw-r--r--server/src/queryhandlerpentominos.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/server/src/queryhandlerpentominos.h b/server/src/queryhandlerpentominos.h
index 9c56d07..53b01ad 100644
--- a/server/src/queryhandlerpentominos.h
+++ b/server/src/queryhandlerpentominos.h
@@ -29,26 +29,28 @@
#include "queryhandler.h"
-#include "tcpsocket.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(TCPSocket &socket, std::string cpr);
- ~QueryHandlerPentominos() {}
+ QueryHandlerPentominos(std::string cpr);
+ ~QueryHandlerPentominos();
// Execute all queries.
QueryResult exec(Query &query);
private:
- TCPSocket &socket;
+ atf_handle_t *atfh;
+ atf_connection_t *atfc;
+
std::string cpr;
};