diff options
Diffstat (limited to 'server/src/queryhandler.h')
-rw-r--r-- | server/src/queryhandler.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/server/src/queryhandler.h b/server/src/queryhandler.h index bb0be8f..e8f2d1b 100644 --- a/server/src/queryhandler.h +++ b/server/src/queryhandler.h @@ -27,7 +27,6 @@ #ifndef __PRACRO_QUERYHANDLER_H__ #define __PRACRO_QUERYHANDLER_H__ -#include "tcpsocket.h" #include "template.h" #include "queryresult.h" @@ -39,15 +38,10 @@ */ class QueryHandler { public: - QueryHandler(TCPSocket *socket, std::string cpr); + QueryHandler() {} // Execute all queries. - // std::string exec(); - QueryResult exec(Query &query); - -private: - TCPSocket *socket; - std::string cpr; + virtual QueryResult exec(Query &query) { return QueryResult(); } }; #endif/*__PRACRO_QUERYHANDLER_H__*/ |