summaryrefslogtreecommitdiff
path: root/src/commandhandler.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-27 21:13:02 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-27 21:13:02 +0100
commit60f10c242fc4f99b0ab0f8d8c6d4b4acde0022cd (patch)
tree2a3f33bb7af2bf88998a5337e1a739ea12712519 /src/commandhandler.h
parent712ca58c011123505c807266dcc8d9d84ca1aa44 (diff)
downloadmana-60f10c242fc4f99b0ab0f8d8c6d4b4acde0022cd.tar.gz
mana-60f10c242fc4f99b0ab0f8d8c6d4b4acde0022cd.tar.bz2
mana-60f10c242fc4f99b0ab0f8d8c6d4b4acde0022cd.tar.xz
mana-60f10c242fc4f99b0ab0f8d8c6d4b4acde0022cd.zip
Clean up of most of the Network pointers
Now that messages can be sent without requiring a pointer to the Network instance, a lot of cleanup was possible.
Diffstat (limited to 'src/commandhandler.h')
-rw-r--r--src/commandhandler.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/commandhandler.h b/src/commandhandler.h
index 2adf4e1b..43ce172f 100644
--- a/src/commandhandler.h
+++ b/src/commandhandler.h
@@ -24,10 +24,6 @@
#include <string>
-#ifdef EATHENA_SUPPORT
-class Network;
-#endif
-
/**
* A class to parse and handle user commands
*/
@@ -37,11 +33,7 @@ class CommandHandler
/**
* Constructor
*/
-#ifdef TMWSERV_SUPPORT
CommandHandler();
-#else
- CommandHandler(Network *network);
-#endif
/**
* Destructor
@@ -143,10 +135,6 @@ class CommandHandler
* Handle a present command.
*/
void handlePresent(const std::string &args);
-
-#ifdef EATHENA_SUPPORT
- Network *mNetwork;
-#endif
};
extern CommandHandler *commandHandler;