summaryrefslogtreecommitdiff
path: root/src/gui/windows/setup.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-09 14:16:53 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-09 14:16:53 +0300
commit46585d7c62a53bfaf5173aa4e67d64735af1d2ed (patch)
tree3ffa2902ee94455441dcc7fe4ae7b1e027e302e7 /src/gui/windows/setup.h
parentb3ad7da111d1a21f14de39d84be97104a9666017 (diff)
downloadmv-46585d7c62a53bfaf5173aa4e67d64735af1d2ed.tar.gz
mv-46585d7c62a53bfaf5173aa4e67d64735af1d2ed.tar.bz2
mv-46585d7c62a53bfaf5173aa4e67d64735af1d2ed.tar.xz
mv-46585d7c62a53bfaf5173aa4e67d64735af1d2ed.zip
add ability to notify setup pages about disconnect from server.
Show mods page only if connected to server.
Diffstat (limited to 'src/gui/windows/setup.h')
-rw-r--r--src/gui/windows/setup.h3
1 files changed, 3 insertions, 0 deletions
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<SetupTab*> mTabs;
+ SetupTab *mModsTab;
std::list<Window*> mWindowsToReset;
std::vector<Button*> mButtons;
Button *mResetWindows;