summaryrefslogtreecommitdiff
path: root/server/src/luaquerymapper.h
diff options
context:
space:
mode:
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;