summaryrefslogtreecommitdiffhomepage
path: root/opentrack/main-window.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-05-23 20:56:40 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-05-29 18:49:46 +0200
commit6706a1d43c857e7a554338976e582a5fde7b442e (patch)
tree126b4dc586e3a8980574303b408133c477761e28 /opentrack/main-window.hpp
parent73cf0e53665098b370a8722eee9f047aab864fdf (diff)
trackhat: add updater
Diffstat (limited to 'opentrack/main-window.hpp')
-rw-r--r--opentrack/main-window.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/opentrack/main-window.hpp b/opentrack/main-window.hpp
index ddb6b725..1ccef358 100644
--- a/opentrack/main-window.hpp
+++ b/opentrack/main-window.hpp
@@ -34,6 +34,8 @@
#include "ui_main-window.h"
+class update_query;
+
class main_window final : public QMainWindow, private State
{
Q_DECLARE_TR_FUNCTIONS(main_window)
@@ -78,6 +80,8 @@ class main_window final : public QMainWindow, private State
qt_signal<void> toggle_tracker { this, &main_window::toggle_tracker_, Qt::QueuedConnection };
qt_signal<void> restart_tracker { this, &main_window::restart_tracker_, Qt::QueuedConnection };
+ std::unique_ptr<update_query> updater;
+
public:
void init_dylibs();
void init_tray_menu();