summaryrefslogtreecommitdiff
path: root/src/gui/windows/updaterwindow.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-27 01:02:06 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-27 01:02:06 +0300
commit5fadfbab5faec52d5ba22fae5046b26740955d52 (patch)
treef45cf2c8e14a03201e820fbc8fe0f9b269833ba1 /src/gui/windows/updaterwindow.h
parent56e977fec61485b993b60b9da456198e28a243a0 (diff)
downloadplus-5fadfbab5faec52d5ba22fae5046b26740955d52.tar.gz
plus-5fadfbab5faec52d5ba22fae5046b26740955d52.tar.bz2
plus-5fadfbab5faec52d5ba22fae5046b26740955d52.tar.xz
plus-5fadfbab5faec52d5ba22fae5046b26740955d52.zip
Use for links in updater window ItemLinkHandler.
Diffstat (limited to 'src/gui/windows/updaterwindow.h')
-rw-r--r--src/gui/windows/updaterwindow.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gui/windows/updaterwindow.h b/src/gui/windows/updaterwindow.h
index 0d322dccf..30b3ca264 100644
--- a/src/gui/windows/updaterwindow.h
+++ b/src/gui/windows/updaterwindow.h
@@ -30,7 +30,6 @@
#include "enums/simpletypes/append.h"
-#include "gui/widgets/linkhandler.h"
#include "gui/widgets/window.h"
#include "resources/updatefile.h"
@@ -42,6 +41,7 @@
class BrowserBox;
class Button;
+class ItemLinkHandler;
class Label;
class ProgressBar;
class ScrollArea;
@@ -58,7 +58,6 @@ namespace Net
*/
class UpdaterWindow final : public Window,
public ActionListener,
- public LinkHandler,
public KeyListener
{
public:
@@ -114,9 +113,6 @@ class UpdaterWindow final : public Window,
void logic() override final;
- void handleLink(const std::string &link,
- MouseEvent *const event A_UNUSED) override final;
-
void loadFile(std::string file);
void deleteSelf();
@@ -210,6 +206,7 @@ class UpdaterWindow final : public Window,
std::string mUpdateServerPath;
+ ItemLinkHandler *mItemLinkHandler A_NONNULLPOINTER;
Label *mLabel A_NONNULLPOINTER;
Button *mCancelButton A_NONNULLPOINTER;
Button *mPlayButton A_NONNULLPOINTER;