00001 /*************************************************************************** 00002 * Copyright (C) 2008 by Sverre Rabbelier * 00003 * sverre@rabbelier.nl * 00004 * * 00005 * This program is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 3 of the License, or * 00008 * (at your option) any later version. * 00009 * * 00010 * This program is distributed in the hope that it will be useful, * 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00013 * GNU General Public License for more details. * 00014 * * 00015 * You should have received a copy of the GNU General Public License * 00016 * along with this program; if not, write to the * 00017 * Free Software Foundation, Inc., * 00018 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 00019 ***************************************************************************/ 00020 #pragma once 00021 00022 #include "Types.h" 00023 00024 namespace mud 00025 { 00026 class AccountManager; 00027 class AreaManager; 00028 class ChannelManager; 00029 class CharacterManager; 00030 class ChunkManager; 00031 class ClusterManager; 00032 class ColourManager; 00033 class CommandManager; 00034 class DetailManager; 00035 class EchoManager; 00036 class ExitManager; 00037 class GrantGroupManager; 00038 class MCharacterManager; 00039 class PermissionManager; 00040 class RaceManager; 00041 class RoomManager; 00042 class SectorManager; 00043 class TraceManager; 00044 00051 class Managers : public Singleton<mud::Managers> 00052 { 00053 public: 00054 AccountManager* Account; 00055 AreaManager* Area; 00056 ChannelManager* Channel; 00057 CharacterManager* Character; 00058 ChunkManager* Chunk; 00059 ClusterManager* Cluster; 00060 ColourManager* Colour; 00061 CommandManager* Command; 00062 DetailManager* Detail; 00063 EchoManager* Echo; 00064 ExitManager* Exit; 00065 GrantGroupManager* GrantGroup; 00066 MCharacterManager* MCharacter; 00067 PermissionManager* Permission; 00068 RaceManager* Race; 00069 RoomManager* Room; 00070 SectorManager* Sector; 00071 TraceManager* Trace; 00073 private: 00075 Managers(); 00076 00078 Managers(const Managers& rhs); 00079 00081 Managers operator=(const Managers& rhs); 00082 00084 ~Managers(); 00085 00086 friend class Singleton<mud::Managers>; 00087 }; 00088 }