summaryrefslogtreecommitdiffstats
path: root/source/cWebPlugin.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-24 00:09:57 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-09-24 00:09:57 +0200
commitecfe6ab65bd1fc2c7f5733fe6ef4e6ddaac44a26 (patch)
tree898e37fe747f0fdcefeb88f833557fd45db3347c /source/cWebPlugin.h
parentSource files cleanup: ChunkDataSerializer is Protocol-related (diff)
downloadcuberite-ecfe6ab65bd1fc2c7f5733fe6ef4e6ddaac44a26.tar
cuberite-ecfe6ab65bd1fc2c7f5733fe6ef4e6ddaac44a26.tar.gz
cuberite-ecfe6ab65bd1fc2c7f5733fe6ef4e6ddaac44a26.tar.bz2
cuberite-ecfe6ab65bd1fc2c7f5733fe6ef4e6ddaac44a26.tar.lz
cuberite-ecfe6ab65bd1fc2c7f5733fe6ef4e6ddaac44a26.tar.xz
cuberite-ecfe6ab65bd1fc2c7f5733fe6ef4e6ddaac44a26.tar.zst
cuberite-ecfe6ab65bd1fc2c7f5733fe6ef4e6ddaac44a26.zip
Diffstat (limited to 'source/cWebPlugin.h')
-rw-r--r--source/cWebPlugin.h47
1 files changed, 0 insertions, 47 deletions
diff --git a/source/cWebPlugin.h b/source/cWebPlugin.h
deleted file mode 100644
index 35af88167..000000000
--- a/source/cWebPlugin.h
+++ /dev/null
@@ -1,47 +0,0 @@
-
-#pragma once
-
-struct lua_State;
-struct HTTPRequest;
-
-
-
-
-
-// tolua_begin
-class cWebPlugin
-{
-public:
- // tolua_end
- cWebPlugin();
- virtual ~cWebPlugin();
-
- virtual const AString & GetName(void) const = 0;
- // tolua_begin
-
- virtual AString HandleWebRequest( 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; }
-
- std::list< std::pair<AString, AString> > GetTabNames();
- std::pair< AString, AString > GetTabNameForRequest( HTTPRequest* a_Request );
-
-private:
- TabList m_Tabs;
-}; // tolua_export
-
-
-
-