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>
This commit is contained in:
Dirk Hohndel 2021-01-14 17:04:37 -08:00
parent 3469fa70eb
commit 1472117541
3 changed files with 14 additions and 7 deletions

View file

@ -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