summaryrefslogtreecommitdiff
path: root/src/net/ea/buysellhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-26 21:29:59 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-26 21:29:59 +0300
commita33a8dc48761d7cb2b4c1c468e1e3b188bcbf709 (patch)
tree1b1e98a615e2c03641c99b66cb4667b56f7087c3 /src/net/ea/buysellhandler.h
parent012a10fd8153f3ddb775dde1e4dba4456f2aa9de (diff)
downloadplus-a33a8dc48761d7cb2b4c1c468e1e3b188bcbf709.tar.gz
plus-a33a8dc48761d7cb2b4c1c468e1e3b188bcbf709.tar.bz2
plus-a33a8dc48761d7cb2b4c1c468e1e3b188bcbf709.tar.xz
plus-a33a8dc48761d7cb2b4c1c468e1e3b188bcbf709.zip
Add const to some classes.
Diffstat (limited to 'src/net/ea/buysellhandler.h')
-rw-r--r--src/net/ea/buysellhandler.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/net/ea/buysellhandler.h b/src/net/ea/buysellhandler.h
index 14d39ea02..26f0d2716 100644
--- a/src/net/ea/buysellhandler.h
+++ b/src/net/ea/buysellhandler.h
@@ -43,11 +43,13 @@ class BuySellHandler : public Net::BuySellHandler
virtual void requestBuyList(std::string nick);
- virtual void sendBuyRequest(std::string nick, ShopItem* item,
- int amount);
+ virtual void sendBuyRequest(const std::string &nick,
+ const ShopItem *const item,
+ const int amount);
- virtual void sendSellRequest(std::string nick, ShopItem* item,
- int amount);
+ virtual void sendSellRequest(const std::string &nick,
+ const ShopItem *const item,
+ const int amount);
virtual void processNpcBuySellChoice(Net::MessageIn &msg);