summaryrefslogtreecommitdiffstats
path: root/core/dive.h
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2019-11-23 13:02:41 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-11-26 09:44:13 -0800
commit624bd9e7eca1291a4a7b8caecd6082f08804e99c (patch)
treefffe9ca595aeae2de1837c36347b1589fba26cf0 /core/dive.h
parentb4b4e7872bb3078166a4b7519d26ca0828105ce4 (diff)
downloadsubsurface-624bd9e7eca1291a4a7b8caecd6082f08804e99c.tar.gz
core: add --testqml flag to mobileExecutable
Add flag to subsurface_mobile (only when compiling for desktop) to allow using qml files from disk instead of resources. This allows testing qml changes with just restarting subsurface_mobile. Signed-off-by: Jan Iversen <jan@casacondor.com>
Diffstat (limited to 'core/dive.h')
-rw-r--r--core/dive.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/dive.h b/core/dive.h
index b1755c192..adcdd200d 100644
--- a/core/dive.h
+++ b/core/dive.h
@@ -249,6 +249,9 @@ struct dive *unregister_dive(int idx);
extern void delete_single_dive(int idx);
extern int run_survey, quit, force_root;
+#ifdef SUBSURFACE_MOBILE_DESKTOP
+extern char *testqml;
+#endif
extern struct dive_table dive_table;
extern struct dive displayed_dive;