diff options
author | FakeTruth <faketruth@gmail.com> | 2013-07-29 02:37:59 +0200 |
---|---|---|
committer | FakeTruth <faketruth@gmail.com> | 2013-07-29 02:37:59 +0200 |
commit | 5a9d4f89c2212c83f05f910b6f2a176f21048ba6 (patch) | |
tree | 63414b5adfde3ff229612628a05ac1fbecb11a7b /source/WebPlugin.h | |
parent | Merge branch 'master' of github.com:mc-server/MCServer (diff) | |
download | cuberite-5a9d4f89c2212c83f05f910b6f2a176f21048ba6.tar cuberite-5a9d4f89c2212c83f05f910b6f2a176f21048ba6.tar.gz cuberite-5a9d4f89c2212c83f05f910b6f2a176f21048ba6.tar.bz2 cuberite-5a9d4f89c2212c83f05f910b6f2a176f21048ba6.tar.lz cuberite-5a9d4f89c2212c83f05f910b6f2a176f21048ba6.tar.xz cuberite-5a9d4f89c2212c83f05f910b6f2a176f21048ba6.tar.zst cuberite-5a9d4f89c2212c83f05f910b6f2a176f21048ba6.zip |
Diffstat (limited to '')
-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; |