summaryrefslogtreecommitdiff
path: root/src/gui/widgets/shopitems.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/shopitems.h')
-rw-r--r--src/gui/widgets/shopitems.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/widgets/shopitems.h b/src/gui/widgets/shopitems.h
index cc444fe85..abfcffb71 100644
--- a/src/gui/widgets/shopitems.h
+++ b/src/gui/widgets/shopitems.h
@@ -96,6 +96,13 @@ class ShopItems : public gcn::ListModel
void erase(unsigned int i);
/**
+ * Removes an element from the shop and destroy it.
+ *
+ * @param i index to remove
+ */
+ void del(unsigned int i);
+
+ /**
* Clears the list of items in the shop.
*/
void clear();