summaryrefslogtreecommitdiff
path: root/src/net/ea/maphandler.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/ea/maphandler.h
parent128f908908b77b242b749b27879ba2a9f70a94f6 (diff)
downloadmana-client-d20b79683997990a1b46ac8d4117f9195aa278f2.tar.gz
mana-client-d20b79683997990a1b46ac8d4117f9195aa278f2.tar.bz2
mana-client-d20b79683997990a1b46ac8d4117f9195aa278f2.tar.xz
mana-client-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/ea/maphandler.h')
-rw-r--r--src/net/ea/maphandler.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/net/ea/maphandler.h b/src/net/ea/maphandler.h
index c264cf10..77811b4e 100644
--- a/src/net/ea/maphandler.h
+++ b/src/net/ea/maphandler.h
@@ -1,6 +1,6 @@
/*
* The Mana World
- * Copyright (C) 2004 The Mana World Development Team
+ * Copyright (C) 2009 The Mana World Development Team
*
* This file is part of The Mana World.
*
@@ -22,6 +22,7 @@
#ifndef NET_EA_MAPHANDLER_H
#define NET_EA_MAPHANDLER_H
+#include "net/maphandler.h"
#include "net/messagehandler.h"
#include "net/net.h"
@@ -30,15 +31,15 @@ class MapHandler : public MessageHandler, public Net::MapHandler
public:
MapHandler();
- virtual void handleMessage(MessageIn &msg);
+ void handleMessage(MessageIn &msg);
- virtual void connect();
+ void connect();
- virtual void mapLoaded(const std::string &mapName);
+ void mapLoaded(const std::string &mapName);
- virtual void who();
+ void who();
- virtual void quit();
+ void quit();
};
extern MapHandler *mapHandler;