diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-11-03 10:18:25 -0700 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-11-03 10:18:25 -0700 |
commit | acd557f9472c711fe92b9c158ec336abf688bf7b (patch) | |
tree | 2295d13589411ee88afe16f4997bea65b4ebba94 /src/net/messagehandler.h | |
parent | c60d3a98dbbb20621742bfd82bbaaa6b7085a8ae (diff) | |
download | mana-acd557f9472c711fe92b9c158ec336abf688bf7b.tar.gz mana-acd557f9472c711fe92b9c158ec336abf688bf7b.tar.bz2 mana-acd557f9472c711fe92b9c158ec336abf688bf7b.tar.xz mana-acd557f9472c711fe92b9c158ec336abf688bf7b.zip |
Remove more _SUPPORT ifdefs and do some cleanup
Diffstat (limited to 'src/net/messagehandler.h')
-rw-r--r-- | src/net/messagehandler.h | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/src/net/messagehandler.h b/src/net/messagehandler.h index c89f3dcd..bf022afd 100644 --- a/src/net/messagehandler.h +++ b/src/net/messagehandler.h @@ -28,10 +28,7 @@ #include <memory> -class MessageIn; -#ifdef EATHENA_SUPPORT -class Network; -#endif +namespace Net { /** * \ingroup Network @@ -41,19 +38,9 @@ class MessageHandler public: const Uint16 *handledMessages; - MessageHandler(); - virtual ~MessageHandler(); - virtual void handleMessage(MessageIn &msg) = 0; - -#ifdef EATHENA_SUPPORT - void setNetwork(Network *network); - - protected: - Network *mNetwork; -#endif }; -typedef const std::auto_ptr<MessageHandler> MessageHandlerPtr; +} #endif // NET_MESSAGEHANDLER_H |