diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2011-04-09 00:25:41 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2011-04-09 17:54:13 +0200 |
commit | 72d83cf5ae523f16fd5313c20f711f6030350d05 (patch) | |
tree | 11e737b42871df8c8be5c819dd29613dade27938 /src/net/manaserv | |
parent | 404d3f7f2f9aa455bea423a6a00025df23cd6687 (diff) | |
download | mana-72d83cf5ae523f16fd5313c20f711f6030350d05.tar.gz mana-72d83cf5ae523f16fd5313c20f711f6030350d05.tar.bz2 mana-72d83cf5ae523f16fd5313c20f711f6030350d05.tar.xz mana-72d83cf5ae523f16fd5313c20f711f6030350d05.zip |
Renamed Listener to EventListener
Makes it clear what kind of listener it is, since there are other
listener classes as well.
Acked-by: Jared Adams
Diffstat (limited to 'src/net/manaserv')
-rw-r--r-- | src/net/manaserv/generalhandler.h | 4 | ||||
-rw-r--r-- | src/net/manaserv/inventoryhandler.h | 4 | ||||
-rw-r--r-- | src/net/manaserv/npchandler.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/net/manaserv/generalhandler.h b/src/net/manaserv/generalhandler.h index a840f02f..45ded011 100644 --- a/src/net/manaserv/generalhandler.h +++ b/src/net/manaserv/generalhandler.h @@ -22,7 +22,7 @@ #ifndef NET_MANASERV_GENERALHANDLER_H #define NET_MANASERV_GENERALHANDLER_H -#include "listener.h" +#include "eventlistener.h" #include "net/generalhandler.h" #include "net/net.h" @@ -31,7 +31,7 @@ namespace ManaServ { -class GeneralHandler : public Net::GeneralHandler, public Listener +class GeneralHandler : public Net::GeneralHandler, public EventListener { public: GeneralHandler(); diff --git a/src/net/manaserv/inventoryhandler.h b/src/net/manaserv/inventoryhandler.h index efa318ad..2733f3da 100644 --- a/src/net/manaserv/inventoryhandler.h +++ b/src/net/manaserv/inventoryhandler.h @@ -23,7 +23,7 @@ #define NET_MANASERV_INVENTORYHANDLER_H #include "equipment.h" -#include "listener.h" +#include "eventlistener.h" #include "net/inventoryhandler.h" @@ -59,7 +59,7 @@ class EquipBackend : public Equipment::Backend }; class InventoryHandler : public MessageHandler, Net::InventoryHandler, - public Listener + public EventListener { public: InventoryHandler(); diff --git a/src/net/manaserv/npchandler.h b/src/net/manaserv/npchandler.h index cb8fd67d..bda4de31 100644 --- a/src/net/manaserv/npchandler.h +++ b/src/net/manaserv/npchandler.h @@ -22,7 +22,7 @@ #ifndef NET_MANASERV_NPCHANDLER_H #define NET_MANASERV_NPCHANDLER_H -#include "listener.h" +#include "eventlistener.h" #include "net/npchandler.h" |