summaryrefslogtreecommitdiff
path: root/src/net/tmwserv/buysellhandler.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-14 22:33:12 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-14 22:33:12 +0200
commitc0f674098878b171ace1b0cf884507a611b21de2 (patch)
tree2a30487f384c3358e5e2f7e623def94b1d031a94 /src/net/tmwserv/buysellhandler.cpp
parentff5dcb946d1efc9248a2f1b88015119d2f267b35 (diff)
downloadmana-c0f674098878b171ace1b0cf884507a611b21de2.tar.gz
mana-c0f674098878b171ace1b0cf884507a611b21de2.tar.bz2
mana-c0f674098878b171ace1b0cf884507a611b21de2.tar.xz
mana-c0f674098878b171ace1b0cf884507a611b21de2.zip
Put the remaining unnamespaced handlers in a namespace
Also fixed some initialization order warnings when compiling with tmwserv support and made two getters const.
Diffstat (limited to 'src/net/tmwserv/buysellhandler.cpp')
-rw-r--r--src/net/tmwserv/buysellhandler.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/tmwserv/buysellhandler.cpp b/src/net/tmwserv/buysellhandler.cpp
index e6943ee0..87a583ec 100644
--- a/src/net/tmwserv/buysellhandler.cpp
+++ b/src/net/tmwserv/buysellhandler.cpp
@@ -38,6 +38,8 @@ extern BuyDialog *buyDialog;
extern SellDialog *sellDialog;
extern Window *buySellDialog;
+namespace TmwServ {
+
BuySellHandler::BuySellHandler()
{
static const Uint16 _messages[] = {
@@ -89,3 +91,5 @@ void BuySellHandler::handleMessage(MessageIn &msg)
break;
}
}
+
+} // namespace TmwServ