diff options
author | Howaner <franzi.moos@googlemail.com> | 2014-08-31 12:59:04 +0200 |
---|---|---|
committer | Howaner <franzi.moos@googlemail.com> | 2014-08-31 12:59:04 +0200 |
commit | 7e5f22141f72fd1ad0ec7982df03f126e9c11244 (patch) | |
tree | 53bbef8ad0420f7d09bbe6b45aa9c07b28f2c4e2 /src/WebAdmin.h | |
parent | Merge pull request #1355 from mc-server/fixes (diff) | |
download | cuberite-7e5f22141f72fd1ad0ec7982df03f126e9c11244.tar cuberite-7e5f22141f72fd1ad0ec7982df03f126e9c11244.tar.gz cuberite-7e5f22141f72fd1ad0ec7982df03f126e9c11244.tar.bz2 cuberite-7e5f22141f72fd1ad0ec7982df03f126e9c11244.tar.lz cuberite-7e5f22141f72fd1ad0ec7982df03f126e9c11244.tar.xz cuberite-7e5f22141f72fd1ad0ec7982df03f126e9c11244.tar.zst cuberite-7e5f22141f72fd1ad0ec7982df03f126e9c11244.zip |
Diffstat (limited to '')
-rw-r--r-- | src/WebAdmin.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/WebAdmin.h b/src/WebAdmin.h index aefc1d145..a59c69096 100644 --- a/src/WebAdmin.h +++ b/src/WebAdmin.h @@ -116,6 +116,9 @@ public: /** Stops the HTTP server, if it was started. */ void Stop(void); + /** Loads the login template. Returns true if the loading success, false if not. */ + bool LoadLoginTemplate(void); + void AddPlugin(cWebPlugin * a_Plugin); void RemovePlugin(cWebPlugin * a_Plugin); @@ -205,6 +208,9 @@ protected: /** The Lua template script to provide templates: */ cLuaState m_TemplateScript; + /** The template who provide the login side: */ + AString m_LoginTemplate; + /** The HTTP server which provides the underlying HTTP parsing, serialization and events */ cHTTPServer m_HTTPServer; |