From bd56bf8afdab16383ed8ad08412a8c807f84af85 Mon Sep 17 00:00:00 2001 From: Björn Steinbrink Date: Sun, 22 Jan 2006 13:31:13 +0000 Subject: Merged NETWORK branch (includes BEING_OVERHAUL). --- src/gui/buy.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/gui/buy.h') diff --git a/src/gui/buy.h b/src/gui/buy.h index 7e9ef069..6a1c9829 100644 --- a/src/gui/buy.h +++ b/src/gui/buy.h @@ -34,6 +34,8 @@ #include "../guichanfwd.h" +class Network; + /** * The buy dialog. * @@ -48,7 +50,7 @@ class BuyDialog : public Window, public gcn::ActionListener, * * @see Window::Window */ - BuyDialog(); + BuyDialog(Network *network); /** * Resets the dialog, clearing shop inventory. @@ -86,6 +88,7 @@ class BuyDialog : public Window, public gcn::ActionListener, std::string getElementAt(int i); private: + Network *mNetwork; gcn::Button *buyButton; gcn::Button *quitButton; gcn::Button *increaseButton; -- cgit v1.2.3-70-g09d2