diff options
| author | deva <deva> | 2009-02-11 07:14:22 +0000 | 
|---|---|---|
| committer | deva <deva> | 2009-02-11 07:14:22 +0000 | 
| commit | 4df8884f155f7558c07949426c248e066df7936f (patch) | |
| tree | 61030bad443e366b8fb0e097200693ab56df01c4 /server/src/queryhandler.h | |
| parent | bbe2b5f899a9c1bd7c99181f8702ec03c60f3028 (diff) | |
Added QueryHandler for both Pentominos and Pracro. Added source string to all values, and use these to set the prefill value in the macros.
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__*/  | 
