summaryrefslogtreecommitdiff
path: root/src/gui/trade.h
diff options
context:
space:
mode:
authorJan-Fabian Humann <malastare@gmx.net>2005-04-06 22:09:54 +0000
committerJan-Fabian Humann <malastare@gmx.net>2005-04-06 22:09:54 +0000
commit361daccb9d2bed324dee09ba308b8c12ef43f06c (patch)
tree857511010327087d500d343e309a9e6f91a2f5c7 /src/gui/trade.h
parent22774c178e7bab484485bded6950e76c8fa54b00 (diff)
downloadmana-361daccb9d2bed324dee09ba308b8c12ef43f06c.tar.gz
mana-361daccb9d2bed324dee09ba308b8c12ef43f06c.tar.bz2
mana-361daccb9d2bed324dee09ba308b8c12ef43f06c.tar.xz
mana-361daccb9d2bed324dee09ba308b8c12ef43f06c.zip
trade update: now both guys see the added item
Diffstat (limited to 'src/gui/trade.h')
-rw-r--r--src/gui/trade.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/trade.h b/src/gui/trade.h
index e6b31678..256f051d 100644
--- a/src/gui/trade.h
+++ b/src/gui/trade.h
@@ -64,6 +64,11 @@ class TradeWindow : public Window, gcn::ActionListener {
int removeItem(int id, bool own);
/**
+ * Reset both item containers
+ */
+ int reset();
+
+ /**
* Change quantity of an item.
*/
int changeQuantity(int index, bool own, int quantity);