diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-03-27 21:13:02 +0100 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-03-27 21:13:02 +0100 |
commit | 60f10c242fc4f99b0ab0f8d8c6d4b4acde0022cd (patch) | |
tree | 2a3f33bb7af2bf88998a5337e1a739ea12712519 /src/gui/buysell.h | |
parent | 712ca58c011123505c807266dcc8d9d84ca1aa44 (diff) | |
download | mana-60f10c242fc4f99b0ab0f8d8c6d4b4acde0022cd.tar.gz mana-60f10c242fc4f99b0ab0f8d8c6d4b4acde0022cd.tar.bz2 mana-60f10c242fc4f99b0ab0f8d8c6d4b4acde0022cd.tar.xz mana-60f10c242fc4f99b0ab0f8d8c6d4b4acde0022cd.zip |
Clean up of most of the Network pointers
Now that messages can be sent without requiring a pointer to the
Network instance, a lot of cleanup was possible.
Diffstat (limited to 'src/gui/buysell.h')
-rw-r--r-- | src/gui/buysell.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/gui/buysell.h b/src/gui/buysell.h index 4b137554..ff956e09 100644 --- a/src/gui/buysell.h +++ b/src/gui/buysell.h @@ -26,8 +26,6 @@ #include "window.h" -class Network; - /** * A dialog to choose between buying or selling at a shop. * @@ -42,7 +40,7 @@ class BuySellDialog : public Window, public gcn::ActionListener * * @see Window::Window */ - BuySellDialog(Network *network); + BuySellDialog(); /** * Check for current NPC @@ -55,9 +53,6 @@ class BuySellDialog : public Window, public gcn::ActionListener * Called when receiving actions from the widgets. */ void action(const gcn::ActionEvent &event); - - private: - Network *mNetwork; }; extern BuySellDialog *buySellDialog; |