summaryrefslogtreecommitdiffstats
path: root/source/LuaState.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-08-08 16:30:02 +0200
committermadmaxoft <github@xoft.cz>2013-08-08 16:30:02 +0200
commiteb323166d9ae600fe422725ea29575ba4613b6d2 (patch)
treebad726267d13fec9994a2c20e8d88885fca29bd0 /source/LuaState.h
parentcPlugin_NewLua is now completely rewritten to use templated LuaState calls. (diff)
downloadcuberite-eb323166d9ae600fe422725ea29575ba4613b6d2.tar
cuberite-eb323166d9ae600fe422725ea29575ba4613b6d2.tar.gz
cuberite-eb323166d9ae600fe422725ea29575ba4613b6d2.tar.bz2
cuberite-eb323166d9ae600fe422725ea29575ba4613b6d2.tar.lz
cuberite-eb323166d9ae600fe422725ea29575ba4613b6d2.tar.xz
cuberite-eb323166d9ae600fe422725ea29575ba4613b6d2.tar.zst
cuberite-eb323166d9ae600fe422725ea29575ba4613b6d2.zip
Diffstat (limited to '')
-rw-r--r--source/LuaState.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/LuaState.h b/source/LuaState.h
index 6ae4bc0d5..6472dc626 100644
--- a/source/LuaState.h
+++ b/source/LuaState.h
@@ -48,6 +48,8 @@ struct TakeDamageInfo;
class cWindow;
class cPlugin_NewLua;
struct HTTPRequest;
+class cWebAdmin;
+struct HTTPTemplateRequest;
@@ -167,6 +169,8 @@ public:
void Push(cWindow * a_Window);
void Push(cPlugin_NewLua * a_Plugin);
void Push(const HTTPRequest * a_Request);
+ void Push(cWebAdmin * a_WebAdmin);
+ void Push(const HTTPTemplateRequest * a_Request);
/// Call any 0-param 0-return Lua function in a single line:
template <typename FnT>