summaryrefslogtreecommitdiffstats
path: root/source/cWebPlugin.h
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-23 01:29:15 +0200
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-23 01:29:15 +0200
commiteba0437d680eb20dc042b7f5e7f5e1a2e5dfe16f (patch)
tree10dbcb93d186a95bc94c1fdf015fc93bac29377d /source/cWebPlugin.h
parentAdded a RateCompareString function to StringUtils (diff)
downloadcuberite-eba0437d680eb20dc042b7f5e7f5e1a2e5dfe16f.tar
cuberite-eba0437d680eb20dc042b7f5e7f5e1a2e5dfe16f.tar.gz
cuberite-eba0437d680eb20dc042b7f5e7f5e1a2e5dfe16f.tar.bz2
cuberite-eba0437d680eb20dc042b7f5e7f5e1a2e5dfe16f.tar.lz
cuberite-eba0437d680eb20dc042b7f5e7f5e1a2e5dfe16f.tar.xz
cuberite-eba0437d680eb20dc042b7f5e7f5e1a2e5dfe16f.tar.zst
cuberite-eba0437d680eb20dc042b7f5e7f5e1a2e5dfe16f.zip
Diffstat (limited to 'source/cWebPlugin.h')
-rw-r--r--source/cWebPlugin.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/cWebPlugin.h b/source/cWebPlugin.h
index c4f08015b..48e9cd3bb 100644
--- a/source/cWebPlugin.h
+++ b/source/cWebPlugin.h
@@ -11,9 +11,9 @@ public:
virtual ~cWebPlugin();
void SetName( std::string a_Name ) { m_Name = a_Name; }
- std::string GetName() { return m_Name; }
+ AString GetName() { return m_Name; }
- virtual std::string HandleWebRequest( HTTPRequest* a_Request ) = 0;
+ virtual AString HandleWebRequest( HTTPRequest* a_Request ) = 0;
static AString SafeString( const AString & a_String );
//tolua_end
@@ -29,10 +29,10 @@ public:
typedef std::list< sWebPluginTab* > TabList;
TabList & GetTabs() { return m_Tabs; }
- std::list< std::pair<std::string, std::string> > GetTabNames();
- std::pair< std::string, std::string > GetTabNameForRequest( HTTPRequest* a_Request );
+ std::list< std::pair<AString, AString> > GetTabNames();
+ std::pair< AString, AString > GetTabNameForRequest( HTTPRequest* a_Request );
private:
TabList m_Tabs;
- std::string m_Name;
+ AString m_Name;
}; //tolua_export \ No newline at end of file