summaryrefslogtreecommitdiffstats
path: root/source/WebPlugin.h
diff options
context:
space:
mode:
authorworktycho <work.tycho@gmail.com>2013-12-09 18:51:12 +0100
committerworktycho <work.tycho@gmail.com>2013-12-09 18:51:12 +0100
commit843605d59ebc128be0a578dc6f45ef8c05da6e79 (patch)
tree3ffebc6ba27baf7a9e1d4bc51501ffeea9b14226 /source/WebPlugin.h
parentmerged makefile changes (diff)
parentFix Undefined behavior at Bindings/LuaWindow line 32 (diff)
downloadcuberite-843605d59ebc128be0a578dc6f45ef8c05da6e79.tar
cuberite-843605d59ebc128be0a578dc6f45ef8c05da6e79.tar.gz
cuberite-843605d59ebc128be0a578dc6f45ef8c05da6e79.tar.bz2
cuberite-843605d59ebc128be0a578dc6f45ef8c05da6e79.tar.lz
cuberite-843605d59ebc128be0a578dc6f45ef8c05da6e79.tar.xz
cuberite-843605d59ebc128be0a578dc6f45ef8c05da6e79.tar.zst
cuberite-843605d59ebc128be0a578dc6f45ef8c05da6e79.zip
Diffstat (limited to 'source/WebPlugin.h')
-rw-r--r--source/WebPlugin.h48
1 files changed, 0 insertions, 48 deletions
diff --git a/source/WebPlugin.h b/source/WebPlugin.h
deleted file mode 100644
index 22587b892..000000000
--- a/source/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
-
-
-
-