diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-23 22:49:21 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-23 22:49:21 +0200 |
commit | 263ce31bd6b80d0cdb33232ce09a81c14d6a0e95 (patch) | |
tree | f3fd398d798e51a12b47d6758ae23de74f438e17 /source/cWebPlugin.h | |
parent | Fixed Bug #237 (diff) | |
download | cuberite-263ce31bd6b80d0cdb33232ce09a81c14d6a0e95.tar cuberite-263ce31bd6b80d0cdb33232ce09a81c14d6a0e95.tar.gz cuberite-263ce31bd6b80d0cdb33232ce09a81c14d6a0e95.tar.bz2 cuberite-263ce31bd6b80d0cdb33232ce09a81c14d6a0e95.tar.lz cuberite-263ce31bd6b80d0cdb33232ce09a81c14d6a0e95.tar.xz cuberite-263ce31bd6b80d0cdb33232ce09a81c14d6a0e95.tar.zst cuberite-263ce31bd6b80d0cdb33232ce09a81c14d6a0e95.zip |
Diffstat (limited to 'source/cWebPlugin.h')
-rw-r--r-- | source/cWebPlugin.h | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/source/cWebPlugin.h b/source/cWebPlugin.h index 48e9cd3bb..35af88167 100644 --- a/source/cWebPlugin.h +++ b/source/cWebPlugin.h @@ -3,17 +3,23 @@ struct lua_State; struct HTTPRequest; -//tolua_begin + + + + + +// tolua_begin class cWebPlugin { public: + // tolua_end cWebPlugin(); virtual ~cWebPlugin(); - - void SetName( std::string a_Name ) { m_Name = a_Name; } - AString GetName() { return m_Name; } - virtual AString HandleWebRequest( HTTPRequest* a_Request ) = 0; + virtual const AString & GetName(void) const = 0; + // tolua_begin + + virtual AString HandleWebRequest( HTTPRequest * a_Request ) = 0; static AString SafeString( const AString & a_String ); //tolua_end @@ -34,5 +40,8 @@ public: private: TabList m_Tabs; - AString m_Name; -}; //tolua_export
\ No newline at end of file +}; // tolua_export + + + + |