diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-27 00:10:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-27 00:10:16 +0300 |
commit | 18d8872333e2e433ce7b9e7be71706de37933097 (patch) | |
tree | dea07c5b7dcd29a3105b42b64ce0414e45f36b10 /src/net/buysellhandler.h | |
parent | 170b469cbcf4adcd82604a6b2efd5a0630ef3fb5 (diff) | |
download | mv-18d8872333e2e433ce7b9e7be71706de37933097.tar.gz mv-18d8872333e2e433ce7b9e7be71706de37933097.tar.bz2 mv-18d8872333e2e433ce7b9e7be71706de37933097.tar.xz mv-18d8872333e2e433ce7b9e7be71706de37933097.zip |
improve some network handlers classes.
Diffstat (limited to 'src/net/buysellhandler.h')
-rw-r--r-- | src/net/buysellhandler.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/buysellhandler.h b/src/net/buysellhandler.h index e358ad299..1f5578ed7 100644 --- a/src/net/buysellhandler.h +++ b/src/net/buysellhandler.h @@ -38,17 +38,17 @@ class BuySellHandler virtual void handleMessage(Net::MessageIn &msg) = 0; - virtual void requestSellList(std::string nick) = 0; + virtual void requestSellList(const std::string &nick) const = 0; - virtual void requestBuyList(std::string nick) = 0; + virtual void requestBuyList(const std::string &nick) const = 0; virtual void sendBuyRequest(const std::string &nick, const ShopItem *const item, - const int amount) = 0; + const int amount) const = 0; virtual void sendSellRequest(const std::string &nick, const ShopItem *const item, - const int amount) = 0; + const int amount) const = 0; }; } // namespace Net |