summaryrefslogtreecommitdiff
path: root/src/net/buysellhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-27 00:10:16 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-27 00:10:16 +0300
commit18d8872333e2e433ce7b9e7be71706de37933097 (patch)
treedea07c5b7dcd29a3105b42b64ce0414e45f36b10 /src/net/buysellhandler.h
parent170b469cbcf4adcd82604a6b2efd5a0630ef3fb5 (diff)
downloadmanaplus-18d8872333e2e433ce7b9e7be71706de37933097.tar.gz
manaplus-18d8872333e2e433ce7b9e7be71706de37933097.tar.bz2
manaplus-18d8872333e2e433ce7b9e7be71706de37933097.tar.xz
manaplus-18d8872333e2e433ce7b9e7be71706de37933097.zip
improve some network handlers classes.
Diffstat (limited to 'src/net/buysellhandler.h')
-rw-r--r--src/net/buysellhandler.h8
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