diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-03 14:55:20 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-03 14:55:20 +0300 |
commit | 7aec0517fe0874b5ac6e6590d442aa89a6f8f5a7 (patch) | |
tree | 0f1f54c66c35ca530521e46751fe393190c5d9cb /src/net | |
parent | d05183a9029d65224f73143a380f1631692a9257 (diff) | |
download | manaplus-7aec0517fe0874b5ac6e6590d442aa89a6f8f5a7.tar.gz manaplus-7aec0517fe0874b5ac6e6590d442aa89a6f8f5a7.tar.bz2 manaplus-7aec0517fe0874b5ac6e6590d442aa89a6f8f5a7.tar.xz manaplus-7aec0517fe0874b5ac6e6590d442aa89a6f8f5a7.zip |
Convert StoreSearchType enum into strong typed enum.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/searchstorehandler.cpp | 2 | ||||
-rw-r--r-- | src/net/eathena/searchstorehandler.h | 2 | ||||
-rw-r--r-- | src/net/searchstorehandler.h | 2 | ||||
-rw-r--r-- | src/net/tmwa/searchstorehandler.cpp | 2 | ||||
-rw-r--r-- | src/net/tmwa/searchstorehandler.h | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/net/eathena/searchstorehandler.cpp b/src/net/eathena/searchstorehandler.cpp index 7ced22765..51aaccd98 100644 --- a/src/net/eathena/searchstorehandler.cpp +++ b/src/net/eathena/searchstorehandler.cpp @@ -75,7 +75,7 @@ void SearchStoreHandler::handleMessage(Net::MessageIn &msg) } } -void SearchStoreHandler::search(const StoreSearchType::Type type, +void SearchStoreHandler::search(const StoreSearchTypeT type, const int minPrice, const int maxPrice, const int itemId) const diff --git a/src/net/eathena/searchstorehandler.h b/src/net/eathena/searchstorehandler.h index 3a449f512..29ff9439c 100644 --- a/src/net/eathena/searchstorehandler.h +++ b/src/net/eathena/searchstorehandler.h @@ -37,7 +37,7 @@ class SearchStoreHandler final : public MessageHandler, void handleMessage(Net::MessageIn &msg) override final; - void search(const StoreSearchType::Type type, + void search(const StoreSearchTypeT type, const int minPrice, const int maxPrice, const int itemId) const override final; diff --git a/src/net/searchstorehandler.h b/src/net/searchstorehandler.h index 19ef98af6..059441c9c 100644 --- a/src/net/searchstorehandler.h +++ b/src/net/searchstorehandler.h @@ -38,7 +38,7 @@ class SearchStoreHandler notfinal virtual ~SearchStoreHandler() { } - virtual void search(const StoreSearchType::Type type, + virtual void search(const StoreSearchTypeT type, const int minPrice, const int maxPrice, const int itemId) const = 0; diff --git a/src/net/tmwa/searchstorehandler.cpp b/src/net/tmwa/searchstorehandler.cpp index b4c304573..091903e4c 100644 --- a/src/net/tmwa/searchstorehandler.cpp +++ b/src/net/tmwa/searchstorehandler.cpp @@ -47,7 +47,7 @@ void SearchStoreHandler::handleMessage(Net::MessageIn &msg) } } -void SearchStoreHandler::search(const StoreSearchType::Type type A_UNUSED, +void SearchStoreHandler::search(const StoreSearchTypeT type A_UNUSED, const int minPrice A_UNUSED, const int maxPrice A_UNUSED, const int itemId A_UNUSED) const diff --git a/src/net/tmwa/searchstorehandler.h b/src/net/tmwa/searchstorehandler.h index b0217d3cb..ca1efcd9c 100644 --- a/src/net/tmwa/searchstorehandler.h +++ b/src/net/tmwa/searchstorehandler.h @@ -39,7 +39,7 @@ class SearchStoreHandler final : public MessageHandler, void handleMessage(Net::MessageIn &msg) override final; - void search(const StoreSearchType::Type type, + void search(const StoreSearchTypeT type, const int minPrice, const int maxPrice, const int itemId) const override final; |