summaryrefslogtreecommitdiff
path: root/src/gui/updaterwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/updaterwindow.h')
-rw-r--r--src/gui/updaterwindow.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/updaterwindow.h b/src/gui/updaterwindow.h
index 2d1b059b..6ea1d754 100644
--- a/src/gui/updaterwindow.h
+++ b/src/gui/updaterwindow.h
@@ -31,9 +31,11 @@
#include <guichan/actionlistener.hpp>
#include <guichan/keylistener.hpp>
+#include <memory>
#include <string>
#include <vector>
+class LinkHandler;
class BrowserBox;
class Button;
class ProgressBar;
@@ -99,8 +101,6 @@ class UpdaterWindow : public Window, public gcn::ActionListener,
void logic() override;
- int updateState;
-
private:
void download();
@@ -189,6 +189,7 @@ private:
ProgressBar *mProgressBar; /**< Update progress bar. */
BrowserBox *mBrowserBox; /**< Box to display news. */
ScrollArea *mScrollArea; /**< Used to scroll news box. */
+ std::unique_ptr<LinkHandler> mLinkHandler;
};
#endif