summaryrefslogtreecommitdiff
path: root/server/src/luaquerymapper.h
diff options
context:
space:
mode:
authordeva <deva>2008-05-26 13:56:30 +0000
committerdeva <deva>2008-05-26 13:56:30 +0000
commit192e0f80bd2da45f1c612411fded2e805ac205de (patch)
tree95407dd47edc6062a6250382ca345d320b7665be /server/src/luaquerymapper.h
parentb0be417b31e2d2577c188a563d531889354b7617 (diff)
Completed the prefilling of the fields, from the db and pentominos, according to their timestamps.
Diffstat (limited to 'server/src/luaquerymapper.h')
-rw-r--r--server/src/luaquerymapper.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/src/luaquerymapper.h b/server/src/luaquerymapper.h
index 838429d..d5e03b0 100644
--- a/server/src/luaquerymapper.h
+++ b/server/src/luaquerymapper.h
@@ -32,6 +32,9 @@
#include <lua.hpp>
#include <lauxlib.h>
+// For class Value
+#include "database.h"
+
/**
* The LUAQueryMapper class takes the result of an external data query and
* applies the associated map.
@@ -45,7 +48,7 @@ public:
* Applies the mapping program to the result-namespace, and returns the
* resulting value.
*/
- std::string map(const std::string &mapper);
+ Value map(const std::string &mapper);
private:
lua_State *L;