summaryrefslogtreecommitdiff
path: root/src/gui/storagewindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/storagewindow.h')
-rw-r--r--src/gui/storagewindow.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/gui/storagewindow.h b/src/gui/storagewindow.h
index 046b7613..8e09768d 100644
--- a/src/gui/storagewindow.h
+++ b/src/gui/storagewindow.h
@@ -43,7 +43,8 @@ class TextBox;
* \ingroup Interface
*/
class StorageWindow : public Window, gcn::ActionListener,
- gcn::SelectionListener
+ gcn::SelectionListener,
+ public InventoryListener
{
public:
/**
@@ -57,11 +58,6 @@ class StorageWindow : public Window, gcn::ActionListener,
~StorageWindow();
/**
- * Logic (updates buttons and weight information).
- */
- void logic();
-
- /**
* Called when receiving actions from the widgets.
*/
void action(const gcn::ActionEvent &event);
@@ -79,6 +75,8 @@ class StorageWindow : public Window, gcn::ActionListener,
*/
void close();
+ void slotsChanged(Inventory* inventory);
+
/**
* Add the specified ammount of the specified item to storage
*/