diff options
author | madmaxoft <github@xoft.cz> | 2013-07-29 09:53:47 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-07-29 09:53:47 +0200 |
commit | 752e57108d300a4e9c4f8dfd3ff9a6f117dd4235 (patch) | |
tree | 99b22a3b1d3a65cb2c4d765e58eaee5d83463646 /source/WebPlugin.h | |
parent | Merge remote-tracking branch 'origin/master' into hunger (diff) | |
parent | Merge pull request #15 from mc-server/webadmin (diff) | |
download | cuberite-752e57108d300a4e9c4f8dfd3ff9a6f117dd4235.tar cuberite-752e57108d300a4e9c4f8dfd3ff9a6f117dd4235.tar.gz cuberite-752e57108d300a4e9c4f8dfd3ff9a6f117dd4235.tar.bz2 cuberite-752e57108d300a4e9c4f8dfd3ff9a6f117dd4235.tar.lz cuberite-752e57108d300a4e9c4f8dfd3ff9a6f117dd4235.tar.xz cuberite-752e57108d300a4e9c4f8dfd3ff9a6f117dd4235.tar.zst cuberite-752e57108d300a4e9c4f8dfd3ff9a6f117dd4235.zip |
Diffstat (limited to 'source/WebPlugin.h')
-rw-r--r-- | source/WebPlugin.h | 9 |
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; |