diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-22 16:22:21 +0200 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-22 16:22:21 +0200 |
commit | 7c84349990f21f783f4b24c113fb372a3c00164b (patch) | |
tree | 41cb29e214b98fc5b9c105bdf722a5c236c2318e /source/cWebPlugin_Lua.h | |
parent | Fixed cWebPlugin_Lua being not thread safe. And I don't know why, but it still crashes in Lua sometimes o_O (diff) | |
download | cuberite-7c84349990f21f783f4b24c113fb372a3c00164b.tar cuberite-7c84349990f21f783f4b24c113fb372a3c00164b.tar.gz cuberite-7c84349990f21f783f4b24c113fb372a3c00164b.tar.bz2 cuberite-7c84349990f21f783f4b24c113fb372a3c00164b.tar.lz cuberite-7c84349990f21f783f4b24c113fb372a3c00164b.tar.xz cuberite-7c84349990f21f783f4b24c113fb372a3c00164b.tar.zst cuberite-7c84349990f21f783f4b24c113fb372a3c00164b.zip |
Diffstat (limited to '')
-rw-r--r-- | source/cWebPlugin_Lua.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/source/cWebPlugin_Lua.h b/source/cWebPlugin_Lua.h deleted file mode 100644 index a63ddf323..000000000 --- a/source/cWebPlugin_Lua.h +++ /dev/null @@ -1,29 +0,0 @@ -#pragma once - -#include "cWebPlugin.h" - -class cPlugin_NewLua; -typedef struct lua_State lua_State; - -// a WebPlugin class more specialized for Lua -class cWebPlugin_Lua : public cWebPlugin //tolua_export -{ //tolua_export -public: //tolua_export - cWebPlugin_Lua( cPlugin_NewLua* a_Plugin ); - virtual ~cWebPlugin_Lua(); - - bool AddTab( const char* a_Title, lua_State * a_LuaState, int a_FunctionReference ); // >> EXPORTED IN MANUALBINDINGS << - - virtual std::string HandleRequest( HTTPRequest* a_Request ); - virtual void Initialize(); - - std::pair< std::string, std::string > GetTabNameForRequest( HTTPRequest* a_Request ); - - std::list< std::pair<std::string, std::string> > GetTabNames(); -private: - cPlugin_NewLua* m_Plugin; - - struct sWebPluginTab; - typedef std::list< sWebPluginTab* > TabList; - TabList m_Tabs; -}; //tolua_export
\ No newline at end of file |