summaryrefslogtreecommitdiffstats
path: root/source/WebPlugin.h
diff options
context:
space:
mode:
authorbearbin <bearbin@gmail.com>2013-07-29 08:32:59 +0200
committerbearbin <bearbin@gmail.com>2013-07-29 08:32:59 +0200
commit798f887b65d1068ddaf072f3a3e62aef5513021a (patch)
tree750de34f6a2aa7c2dd3cb834d9596284f8726b6b /source/WebPlugin.h
parentFixed multiple issues with the COMPILING file, including a missing endline terminator, windows line endings and also the exclusion of the addm32 thing. (diff)
parentMerge pull request #16 from mc-server/master (diff)
downloadcuberite-798f887b65d1068ddaf072f3a3e62aef5513021a.tar
cuberite-798f887b65d1068ddaf072f3a3e62aef5513021a.tar.gz
cuberite-798f887b65d1068ddaf072f3a3e62aef5513021a.tar.bz2
cuberite-798f887b65d1068ddaf072f3a3e62aef5513021a.tar.lz
cuberite-798f887b65d1068ddaf072f3a3e62aef5513021a.tar.xz
cuberite-798f887b65d1068ddaf072f3a3e62aef5513021a.tar.zst
cuberite-798f887b65d1068ddaf072f3a3e62aef5513021a.zip
Diffstat (limited to '')
-rw-r--r--source/WebPlugin.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/source/WebPlugin.h b/source/WebPlugin.h
index 160c3c126..22587b892 100644
--- a/source/WebPlugin.h
+++ b/source/WebPlugin.h
@@ -16,10 +16,10 @@ public:
cWebPlugin();
virtual ~cWebPlugin();
- virtual const AString & GetWebTitle(void) const = 0;
// tolua_begin
+ virtual const AString GetWebTitle(void) const = 0;
- virtual AString HandleWebRequest( HTTPRequest * a_Request ) = 0;
+ virtual AString HandleWebRequest(const HTTPRequest * a_Request ) = 0;
static AString SafeString( const AString & a_String );
// tolua_end
@@ -35,8 +35,9 @@ public:
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 );
+ 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;