aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-helper.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2021-01-07 15:12:25 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-01-10 15:16:52 -0800
commitd77f25432850ea2e2ea9e7fb84c49d52c3a308eb (patch)
tree49c284199f232585dc5c74b4767c845605d747da /subsurface-helper.cpp
parente7907c494f7f78831c2e2d523f7eb43e25ee77c0 (diff)
downloadsubsurface-d77f25432850ea2e2ea9e7fb84c49d52c3a308eb.tar.gz
statistics: add a skeleton StatsManager class
In analogy to "QMLManager", add a "StatsManager" class, which manages the statistics module on mobile. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'subsurface-helper.cpp')
-rw-r--r--subsurface-helper.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/subsurface-helper.cpp b/subsurface-helper.cpp
index 45cadcfa1..8fbb74b6a 100644
--- a/subsurface-helper.cpp
+++ b/subsurface-helper.cpp
@@ -16,6 +16,7 @@
#include "mobile-widgets/themeinterface.h"
#include "mobile-widgets/qmlmanager.h"
#include "mobile-widgets/qmlinterface.h"
+#include "mobile-widgets/statsmanager.h"
#include "qt-models/divesummarymodel.h"
#include "qt-models/gpslistmodel.h"
#include "qt-models/messagehandlermodel.h"
@@ -207,6 +208,7 @@ static void register_qml_types(QQmlEngine *engine)
#ifdef SUBSURFACE_MOBILE
register_qml_type<QMLManager>("QMLManager");
+ register_qml_type<StatsManager>("StatsManager");
register_qml_type<QMLProfile>("QMLProfile");
register_qml_type<DiveImportedModel>("DCImportModel");
register_qml_type<DiveSummaryModel>("DiveSummaryModel");