diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-17 00:25:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-17 00:25:37 +0300 |
commit | 0c821c1e711b7cd1e16089a04e866f5869782975 (patch) | |
tree | 6d3da4bce6a9f5fa962c8835f820c538057659f3 /src/net | |
parent | 2ff6ba08013b00b8685e4c8f1f53d7f0ead172a7 (diff) | |
download | manaplus-0c821c1e711b7cd1e16089a04e866f5869782975.tar.gz manaplus-0c821c1e711b7cd1e16089a04e866f5869782975.tar.bz2 manaplus-0c821c1e711b7cd1e16089a04e866f5869782975.tar.xz manaplus-0c821c1e711b7cd1e16089a04e866f5869782975.zip |
Remove getter for bankHandler.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/bankhandler.h | 2 | ||||
-rw-r--r-- | src/net/net.cpp | 6 | ||||
-rw-r--r-- | src/net/net.h | 2 |
3 files changed, 3 insertions, 7 deletions
diff --git a/src/net/bankhandler.h b/src/net/bankhandler.h index 5db6b9680..10000fc11 100644 --- a/src/net/bankhandler.h +++ b/src/net/bankhandler.h @@ -43,4 +43,6 @@ class BankHandler notfinal } // namespace Net +extern Net::BankHandler *bankHandler; + #endif // NET_BANKHANDLER_H diff --git a/src/net/net.cpp b/src/net/net.cpp index bfb56870d..978300b3b 100644 --- a/src/net/net.cpp +++ b/src/net/net.cpp @@ -40,6 +40,7 @@ namespace Net { class AdminHandler; class AuctionHandler; + class BankHandler; } Net::AdminHandler *adminHandler = nullptr; @@ -160,11 +161,6 @@ Net::FamilyHandler *Net::getFamilyHandler() return familyHandler; } -Net::BankHandler *Net::getBankHandler() -{ - return bankHandler; -} - namespace Net { diff --git a/src/net/net.h b/src/net/net.h index cbadf71cd..d90008027 100644 --- a/src/net/net.h +++ b/src/net/net.h @@ -36,7 +36,6 @@ namespace Net { -class BankHandler; class BeingHandler; class CashShopHandler; class CharServerHandler; @@ -76,7 +75,6 @@ ServerFeatures *getServerFeatures() A_WARN_UNUSED; MailHandler *getMailHandler() A_WARN_UNUSED; CashShopHandler *getCashShopHandler() A_WARN_UNUSED; FamilyHandler *getFamilyHandler() A_WARN_UNUSED; -BankHandler *getBankHandler() A_WARN_UNUSED; ServerInfo::Type getNetworkType() A_WARN_UNUSED; |