summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-17 00:18:59 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-17 00:18:59 +0300
commit2ff6ba08013b00b8685e4c8f1f53d7f0ead172a7 (patch)
tree79bc1bcf24aabe80c7b6b7b7a140e469120d4d31
parent9b25edfe24395fdee2ad06c85a0f9c0a6117aaa8 (diff)
downloadmanaplus-2ff6ba08013b00b8685e4c8f1f53d7f0ead172a7.tar.gz
manaplus-2ff6ba08013b00b8685e4c8f1f53d7f0ead172a7.tar.bz2
manaplus-2ff6ba08013b00b8685e4c8f1f53d7f0ead172a7.tar.xz
manaplus-2ff6ba08013b00b8685e4c8f1f53d7f0ead172a7.zip
Remove getter for auctionHandler.
-rw-r--r--src/net/auctionhandler.h2
-rw-r--r--src/net/net.cpp6
-rw-r--r--src/net/net.h2
3 files changed, 3 insertions, 7 deletions
diff --git a/src/net/auctionhandler.h b/src/net/auctionhandler.h
index 24dc9a364..1432381d2 100644
--- a/src/net/auctionhandler.h
+++ b/src/net/auctionhandler.h
@@ -37,4 +37,6 @@ class AuctionHandler notfinal
} // namespace Net
+extern Net::AuctionHandler *auctionHandler;
+
#endif // NET_AUCTIONHANDLER_H
diff --git a/src/net/net.cpp b/src/net/net.cpp
index 520c794db..bfb56870d 100644
--- a/src/net/net.cpp
+++ b/src/net/net.cpp
@@ -39,6 +39,7 @@
namespace Net
{
class AdminHandler;
+ class AuctionHandler;
}
Net::AdminHandler *adminHandler = nullptr;
@@ -149,11 +150,6 @@ Net::MailHandler *Net::getMailHandler()
return mailHandler;
}
-Net::AuctionHandler *Net::getAuctionHandler()
-{
- return auctionHandler;
-}
-
Net::CashShopHandler *Net::getCashShopHandler()
{
return cashShopHandler;
diff --git a/src/net/net.h b/src/net/net.h
index 4581e9946..cbadf71cd 100644
--- a/src/net/net.h
+++ b/src/net/net.h
@@ -36,7 +36,6 @@
namespace Net
{
-class AuctionHandler;
class BankHandler;
class BeingHandler;
class CashShopHandler;
@@ -75,7 +74,6 @@ TradeHandler *getTradeHandler() A_WARN_UNUSED;
BuySellHandler *getBuySellHandler() A_WARN_UNUSED;
ServerFeatures *getServerFeatures() A_WARN_UNUSED;
MailHandler *getMailHandler() A_WARN_UNUSED;
-AuctionHandler *getAuctionHandler() A_WARN_UNUSED;
CashShopHandler *getCashShopHandler() A_WARN_UNUSED;
FamilyHandler *getFamilyHandler() A_WARN_UNUSED;
BankHandler *getBankHandler() A_WARN_UNUSED;