diff options
author | Anthony Birkett <anthony@a-birkett.com> | 2015-03-31 15:50:03 +0200 |
---|---|---|
committer | Anthony Birkett <anthony@a-birkett.com> | 2015-04-01 01:03:37 +0200 |
commit | 51891b766c733220b5267be1b4bcf6f04717e976 (patch) | |
tree | 6af0b9ac70329a7e83ff5d68f548a6081c32b633 /src/Root.h | |
parent | QtBiomeVisualiser: Fixed compilation and INI loading. (diff) | |
download | cuberite-51891b766c733220b5267be1b4bcf6f04717e976.tar cuberite-51891b766c733220b5267be1b4bcf6f04717e976.tar.gz cuberite-51891b766c733220b5267be1b4bcf6f04717e976.tar.bz2 cuberite-51891b766c733220b5267be1b4bcf6f04717e976.tar.lz cuberite-51891b766c733220b5267be1b4bcf6f04717e976.tar.xz cuberite-51891b766c733220b5267be1b4bcf6f04717e976.tar.zst cuberite-51891b766c733220b5267be1b4bcf6f04717e976.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Root.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Root.h b/src/Root.h index fdaf444bd..d552466dc 100644 --- a/src/Root.h +++ b/src/Root.h @@ -46,6 +46,7 @@ public: // tolua_end static bool m_TerminateEventRaised; + static bool m_RunAsService; cRoot(void); @@ -53,6 +54,9 @@ public: void Start(void); + // Added so the service handler can request a stop + void SetStopping(bool a_Stopping); + // tolua_begin cServer * GetServer(void) { return m_Server; } cWorld * GetDefaultWorld(void); |