diff options
author | Jared Adams <jaxad0127@gmail.com> | 2010-03-24 23:10:51 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2010-03-25 11:31:55 -0600 |
commit | bf6cb46d9b06b06470efd5ad3ebae7e274f6906f (patch) | |
tree | 281cdf6d017477f07e02e73acef175f937c18eed /src/gui/storagewindow.h | |
parent | 83077364f8b67fb9fc57e8b04a1feff0e243848d (diff) | |
download | mana-client-bf6cb46d9b06b06470efd5ad3ebae7e274f6906f.tar.gz mana-client-bf6cb46d9b06b06470efd5ad3ebae7e274f6906f.tar.bz2 mana-client-bf6cb46d9b06b06470efd5ad3ebae7e274f6906f.tar.xz mana-client-bf6cb46d9b06b06470efd5ad3ebae7e274f6906f.zip |
Eliminate the logic methods from InventoryWindow and StorageWindow
Diffstat (limited to 'src/gui/storagewindow.h')
-rw-r--r-- | src/gui/storagewindow.h | 10 |
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 */ |