summaryrefslogtreecommitdiff
path: root/src/net/net.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-02 14:54:43 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-02 15:02:59 +0200
commitd20b79683997990a1b46ac8d4117f9195aa278f2 (patch)
tree8566fe6cd224003100be35743645c948536f26e8 /src/net/net.h
parent128f908908b77b242b749b27879ba2a9f70a94f6 (diff)
downloadmana-d20b79683997990a1b46ac8d4117f9195aa278f2.tar.gz
mana-d20b79683997990a1b46ac8d4117f9195aa278f2.tar.bz2
mana-d20b79683997990a1b46ac8d4117f9195aa278f2.tar.xz
mana-d20b79683997990a1b46ac8d4117f9195aa278f2.zip
Some cleanup and renaming
* Removed superfluous 'virtual' keyword in *Handler implementations * Renamed NPCHandler to NpcHandler * Renamed InvyHandler to InventoryHandler * Made all *Handler interface methods pure virtual * Used forward declarations in net.h * Renamed {start,end}Shoping to {start,end}Shopping
Diffstat (limited to 'src/net/net.h')
-rw-r--r--src/net/net.h68
1 files changed, 29 insertions, 39 deletions
diff --git a/src/net/net.h b/src/net/net.h
index aa2c8a27..75ee3aed 100644
--- a/src/net/net.h
+++ b/src/net/net.h
@@ -22,46 +22,36 @@
#ifndef NET_H
#define NET_H
-#include "net/adminhandler.h"
-#include "net/charhandler.h"
-#include "net/chathandler.h"
-#include "net/generalhandler.h"
-#include "net/guildhandler.h"
-#include "net/inventoryhandler.h"
-#include "net/loginhandler.h"
-#include "net/maphandler.h"
-#include "net/npchandler.h"
-#include "net/partyhandler.h"
-#include "net/playerhandler.h"
-#include "net/skillhandler.h"
-#include "net/tradehandler.h"
-
namespace Net {
-Net::AdminHandler *getAdminHandler();
-
-Net::CharHandler *getCharHandler();
-
-Net::ChatHandler *getChatHandler();
-
-Net::GeneralHandler *getGeneralHandler();
-
-Net::GuildHandler *getGuildHandler();
-
-Net::InvyHandler *getInvyHandler();
-
-Net::LoginHandler *getLoginHandler();
-
-Net::MapHandler *getMapHandler();
-
-Net::NpcHandler *getNpcHandler();
-
-Net::PartyHandler *getPartyHandler();
-
-Net::PlayerHandler *getPlayerHandler();
-
-Net::SkillHandler *getSkillHandler();
-Net::TradeHandler *getTradeHandler();
-}
+class AdminHandler;
+class CharHandler;
+class ChatHandler;
+class GeneralHandler;
+class GuildHandler;
+class InventoryHandler;
+class LoginHandler;
+class MapHandler;
+class NpcHandler;
+class PartyHandler;
+class PlayerHandler;
+class SkillHandler;
+class TradeHandler;
+
+AdminHandler *getAdminHandler();
+CharHandler *getCharHandler();
+ChatHandler *getChatHandler();
+GeneralHandler *getGeneralHandler();
+GuildHandler *getGuildHandler();
+InventoryHandler *getInventoryHandler();
+LoginHandler *getLoginHandler();
+MapHandler *getMapHandler();
+NpcHandler *getNpcHandler();
+PartyHandler *getPartyHandler();
+PlayerHandler *getPlayerHandler();
+SkillHandler *getSkillHandler();
+TradeHandler *getTradeHandler();
+
+} // namespace Net
#endif // NET_H