summaryrefslogtreecommitdiff
path: root/server/src/luaquerymapper.h
diff options
context:
space:
mode:
authordeva <deva>2008-09-05 12:24:42 +0000
committerdeva <deva>2008-09-05 12:24:42 +0000
commit2ee36211ba872bc6a944a85a3104a751d4fda254 (patch)
treed6e3cc3da6136b686eeee45b2186f3fd8037ef53 /server/src/luaquerymapper.h
parent26dc58fb696ac1f96e018fbae7083d1ba2a1a55a (diff)
Made multiple pentominos request work properly (still no reusage of the connection). Also increaed the default ttl to 7 days instead of 1.
Diffstat (limited to 'server/src/luaquerymapper.h')
-rw-r--r--server/src/luaquerymapper.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/src/luaquerymapper.h b/server/src/luaquerymapper.h
index 685abe7..4648606 100644
--- a/server/src/luaquerymapper.h
+++ b/server/src/luaquerymapper.h
@@ -41,7 +41,7 @@
*/
class LUAQueryMapper {
public:
- LUAQueryMapper(QueryResult &res);
+ LUAQueryMapper();
~LUAQueryMapper();
/**
@@ -52,6 +52,8 @@ public:
void error(std::string message);
+ void addQueryResult(QueryResult &result);
+
private:
lua_State *L;
int clean_top;