From 0c821c1e711b7cd1e16089a04e866f5869782975 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 17 Sep 2014 00:25:37 +0300 Subject: Remove getter for bankHandler. --- src/net/bankhandler.h | 2 ++ src/net/net.cpp | 6 +----- src/net/net.h | 2 -- 3 files changed, 3 insertions(+), 7 deletions(-) (limited to 'src') 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; -- cgit v1.2.3-70-g09d2