diff options
Diffstat (limited to 'src/trinitycore/Master.h')
-rw-r--r-- | src/trinitycore/Master.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/trinitycore/Master.h b/src/trinitycore/Master.h index 49b29bd8639..967f497051a 100644 --- a/src/trinitycore/Master.h +++ b/src/trinitycore/Master.h @@ -17,13 +17,17 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ + /// \addtogroup Trinityd /// @{ /// \file + #ifndef _MASTER_H #define _MASTER_H + #include "Common.h" #include "Policies/Singleton.h" + /// Start the server class Master { @@ -32,13 +36,17 @@ class Master ~Master(); int Run(); static volatile uint32 m_masterLoopCounter; + private: bool _StartDB(); + void _HookSignals(); void _UnhookSignals(); static void _OnSignal(int s); + void clearOnlineAccounts(); }; + #define sMaster Trinity::Singleton<Master>::Instance() #endif /// @} |