diff options
author | madmaxoft <github@xoft.cz> | 2013-12-08 12:17:54 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-12-08 12:17:54 +0100 |
commit | 044fd237b60b30f2a422b9efd04d20badf61da79 (patch) | |
tree | edbbb450e57100e7b23b91f4a12a10802d20e6d0 /src/WebPlugin.h | |
parent | Ignoring Gallery plugin settings. (diff) | |
download | cuberite-044fd237b60b30f2a422b9efd04d20badf61da79.tar cuberite-044fd237b60b30f2a422b9efd04d20badf61da79.tar.gz cuberite-044fd237b60b30f2a422b9efd04d20badf61da79.tar.bz2 cuberite-044fd237b60b30f2a422b9efd04d20badf61da79.tar.lz cuberite-044fd237b60b30f2a422b9efd04d20badf61da79.tar.xz cuberite-044fd237b60b30f2a422b9efd04d20badf61da79.tar.zst cuberite-044fd237b60b30f2a422b9efd04d20badf61da79.zip |
Diffstat (limited to 'src/WebPlugin.h')
-rw-r--r-- | src/WebPlugin.h | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/src/WebPlugin.h b/src/WebPlugin.h deleted file mode 100644 index 22587b892..000000000 --- a/src/WebPlugin.h +++ /dev/null @@ -1,48 +0,0 @@ - -#pragma once - -struct lua_State; -struct HTTPRequest; - - - - - -// tolua_begin -class cWebPlugin -{ -public: - // tolua_end - cWebPlugin(); - virtual ~cWebPlugin(); - - // tolua_begin - virtual const AString GetWebTitle(void) const = 0; - - virtual AString HandleWebRequest(const HTTPRequest * a_Request ) = 0; - - static AString SafeString( const AString & a_String ); - // tolua_end - - struct sWebPluginTab - { - std::string Title; - std::string SafeTitle; - - int UserData; - }; - - typedef std::list< sWebPluginTab* > TabList; - TabList & GetTabs() { return m_Tabs; } - - typedef std::list< std::pair<AString, AString> > TabNameList; - TabNameList GetTabNames(); // >> EXPORTED IN MANUALBINDINGS << - std::pair< AString, AString > GetTabNameForRequest(const HTTPRequest* a_Request ); - -private: - TabList m_Tabs; -}; // tolua_export - - - - |