summaryrefslogtreecommitdiff
path: root/src/net/tmwserv/tradehandler.h
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-06 08:12:03 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-06 08:14:37 -0600
commitffe62a721cf3c17b815da591af753e1424003a77 (patch)
tree6b3bd4dcec199ef10e138b7755d1c853db85a7d7 /src/net/tmwserv/tradehandler.h
parent004b2853d37a18a67c348c29e4500f3ef68337b5 (diff)
downloadmana-ffe62a721cf3c17b815da591af753e1424003a77.tar.gz
mana-ffe62a721cf3c17b815da591af753e1424003a77.tar.bz2
mana-ffe62a721cf3c17b815da591af753e1424003a77.tar.xz
mana-ffe62a721cf3c17b815da591af753e1424003a77.zip
Add TMWServ's SkillHandler
Also namespace both Player- and TradeHandlers
Diffstat (limited to 'src/net/tmwserv/tradehandler.h')
-rw-r--r--src/net/tmwserv/tradehandler.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/tmwserv/tradehandler.h b/src/net/tmwserv/tradehandler.h
index 1abb30e3..dc9e070a 100644
--- a/src/net/tmwserv/tradehandler.h
+++ b/src/net/tmwserv/tradehandler.h
@@ -25,6 +25,8 @@
#include "net/messagehandler.h"
#include "net/tradehandler.h"
+namespace TmwServ {
+
class TradeHandler : public MessageHandler, public Net::TradeHandler
{
public:
@@ -67,6 +69,6 @@ class TradeHandler : public MessageHandler, public Net::TradeHandler
bool mAcceptTradeRequests;
};
-extern Net::TradeHandler *tradeHandler;
+} // namespace TmwServ
#endif