diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-26 21:29:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-26 21:29:59 +0300 |
commit | a33a8dc48761d7cb2b4c1c468e1e3b188bcbf709 (patch) | |
tree | 1b1e98a615e2c03641c99b66cb4667b56f7087c3 /src/net/buysellhandler.h | |
parent | 012a10fd8153f3ddb775dde1e4dba4456f2aa9de (diff) | |
download | ManaVerse-a33a8dc48761d7cb2b4c1c468e1e3b188bcbf709.tar.gz ManaVerse-a33a8dc48761d7cb2b4c1c468e1e3b188bcbf709.tar.bz2 ManaVerse-a33a8dc48761d7cb2b4c1c468e1e3b188bcbf709.tar.xz ManaVerse-a33a8dc48761d7cb2b4c1c468e1e3b188bcbf709.zip |
Add const to some classes.
Diffstat (limited to 'src/net/buysellhandler.h')
-rw-r--r-- | src/net/buysellhandler.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/net/buysellhandler.h b/src/net/buysellhandler.h index 3fbcbe733..dc41f63dc 100644 --- a/src/net/buysellhandler.h +++ b/src/net/buysellhandler.h @@ -42,11 +42,13 @@ class BuySellHandler virtual void requestBuyList(std::string nick) = 0; - virtual void sendBuyRequest(std::string nick, ShopItem* item, - int amount) = 0; + virtual void sendBuyRequest(const std::string &nick, + const ShopItem *const item, + const int amount) = 0; - virtual void sendSellRequest(std::string nick, ShopItem* item, - int amount) = 0; + virtual void sendSellRequest(const std::string &nick, + const ShopItem *const item, + const int amount) = 0; }; } // namespace Net |