summaryrefslogtreecommitdiff
path: root/src/gui/shop.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/shop.h')
-rw-r--r--src/gui/shop.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/gui/shop.h b/src/gui/shop.h
index 0c900d9d..6c3031af 100644
--- a/src/gui/shop.h
+++ b/src/gui/shop.h
@@ -57,6 +57,12 @@ class ShopItems : public gcn::ListModel
~ShopItems();
/**
+ * Adds an item to the list.
+ */
+ void addItem(int id, int amount, int price);
+
+#ifdef EATHENA_SUPPORT
+ /**
* Adds an item to the list (used by sell dialog). Looks for
* duplicate entries, if mergeDuplicates was turned on.
*
@@ -66,15 +72,7 @@ class ShopItems : public gcn::ListModel
* @param price price of the item
*/
void addItem(int inventoryIndex, int id, int amount, int price);
-
- /**
- * Adds an item to the list (used by buy dialog). Looks for
- * duplicate entries, if mergeDuplicates was turned on.
- *
- * @param id the id of the item
- * @param price price of the item
- */
- void addItem(int id, int price);
+#endif
/**
* Returns the number of items in the shop.