diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2021-01-14 17:04:37 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2021-01-19 12:35:29 -0800 |
commit | 14721175416772d23c9757e74b78ec8be448aac7 (patch) | |
tree | 78b957b2548c3c7806c95c4007410eae7186e8c6 /core/qt-gui.h | |
parent | 3469fa70eba9a0687d9130cf79e914d4ba242fd8 (diff) | |
download | subsurface-14721175416772d23c9757e74b78ec8be448aac7.tar.gz |
cleanup: create separate UI entry points for desktop and mobile
This doesn't really change anything, but makes the code easier to read.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/qt-gui.h')
-rw-r--r-- | core/qt-gui.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/qt-gui.h b/core/qt-gui.h index 9bfe0e001..dc0fb2348 100644 --- a/core/qt-gui.h +++ b/core/qt-gui.h @@ -5,12 +5,14 @@ void init_qt_late(); void init_ui(); -void run_ui(); void exit_ui(); void set_non_bt_addresses(); #if defined(SUBSURFACE_MOBILE) #include <QQuickWindow> +void run_mobile_ui(); +#else +void run_ui(); #endif #endif // QT_GUI_H |