From 46585d7c62a53bfaf5173aa4e67d64735af1d2ed Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 9 Jan 2014 14:16:53 +0300 Subject: add ability to notify setup pages about disconnect from server. Show mods page only if connected to server. --- src/gui/windows/setup.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui/windows/setup.h') diff --git a/src/gui/windows/setup.h b/src/gui/windows/setup.h index 1b484b726..9039f4e87 100644 --- a/src/gui/windows/setup.h +++ b/src/gui/windows/setup.h @@ -57,6 +57,8 @@ class Setup final : public Window, public gcn::ActionListener void externalUpdate(); + void externalUnload(); + void registerWindowForReset(Window *const window); void clearWindowsForReset() @@ -72,6 +74,7 @@ class Setup final : public Window, public gcn::ActionListener private: std::list mTabs; + SetupTab *mModsTab; std::list mWindowsToReset; std::vector mButtons; Button *mResetWindows; -- cgit v1.2.3-70-g09d2