ssrf: add shared helper file

add subsurface-helper.cpp to share functions between mobile and desktop

move mobile qml registrations to a shared function (avoiding differences in registrations)

Target is to replace current subsurface-desktop-main + subsurface-desktop-helper and
subsurface-mobile-main + subsurface-mobile-helper with
subsurface-*-main + subsurface-helper

Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
jan Iversen 2018-07-11 11:34:33 +02:00 committed by Dirk Hohndel
parent a56a7c51f6
commit 8cc0b6dbc1
4 changed files with 61 additions and 38 deletions

View file

@ -6,6 +6,7 @@ void init_qt_late();
void init_ui();
void run_ui();
void register_qml_types();
void exit_ui();
void set_non_bt_addresses();