summaryrefslogtreecommitdiff
path: root/src/net/messagehandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/messagehandler.h')
-rw-r--r--src/net/messagehandler.h17
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