diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-15 20:37:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-15 20:37:18 +0300 |
commit | f6cb5519a2cc4452055ff0bfb6f38990bc3e9e65 (patch) | |
tree | a4b22c43caebdccb79969dc95356f8745600d36c /src/gui/windows/serverinfowindow.h | |
parent | acc395f67dbe683787f1aeb0bf96fe0a16f62c5e (diff) | |
download | manaverse-f6cb5519a2cc4452055ff0bfb6f38990bc3e9e65.tar.gz manaverse-f6cb5519a2cc4452055ff0bfb6f38990bc3e9e65.tar.bz2 manaverse-f6cb5519a2cc4452055ff0bfb6f38990bc3e9e65.tar.xz manaverse-f6cb5519a2cc4452055ff0bfb6f38990bc3e9e65.zip |
Allow open server info window from game.
Diffstat (limited to 'src/gui/windows/serverinfowindow.h')
-rw-r--r-- | src/gui/windows/serverinfowindow.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/windows/serverinfowindow.h b/src/gui/windows/serverinfowindow.h index f3e2b545e..699a00451 100644 --- a/src/gui/windows/serverinfowindow.h +++ b/src/gui/windows/serverinfowindow.h @@ -46,6 +46,8 @@ class ServerInfoWindow final : public Window, void handleLink(const std::string &link, MouseEvent *const event A_UNUSED) override final; + void close() override final; + protected: void showServerInfo(); @@ -61,4 +63,6 @@ class ServerInfoWindow final : public Window, ScrollArea *mScrollArea A_NONNULLPOINTER; }; +extern ServerInfoWindow *serverInfoWindow; + #endif // GUI_WINDOWS_SERVERINFOWINDOW_H |