aboutsummaryrefslogtreecommitdiff
path: root/src/server/worldserver/Master.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/worldserver/Master.h')
-rw-r--r--src/server/worldserver/Master.h57
1 files changed, 0 insertions, 57 deletions
diff --git a/src/server/worldserver/Master.h b/src/server/worldserver/Master.h
deleted file mode 100644
index 86059e6417a..00000000000
--- a/src/server/worldserver/Master.h
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * Copyright (C) 2008-2014 TrinityCore <http://www.trinitycore.org/>
- * Copyright (C) 2005-2009 MaNGOS <http://getmangos.com/>
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 2 of the License, or (at your
- * option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-/// \addtogroup Trinityd
-/// @{
-/// \file
-
-#ifndef _MASTER_H
-#define _MASTER_H
-
-#include <boost/asio/io_service.hpp>
-#include "Common.h"
-#include "RASession.h"
-
-template<typename T>
-class AsyncAcceptor;
-
-/// Start the server
-class Master
-{
- public:
- static Master* instance()
- {
- static Master* instance = new Master();
- return instance;
- }
-
- int Run();
-
- private:
- bool _StartDB();
- void _StopDB();
-
- void ClearOnlineAccounts();
- AsyncAcceptor<RASession>* StartRaSocketAcceptor(boost::asio::io_service& ioService);
-};
-
-#define sMaster Master::instance()
-
-#endif
-
-/// @}