summaryrefslogtreecommitdiffstats
path: root/core/qthelper.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2020-04-01 06:55:12 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-04-04 12:00:24 -0700
commitf58bc91d8bb81feb02d059a8f69025f8f6f5a6b0 (patch)
treefe9e3a9bcb2e69fa09caef6a1c3ab6c20e19c9dc /core/qthelper.h
parenta37499bccd9135a01fedf0d89ddb5de5d9c43f01 (diff)
downloadsubsurface-f58bc91d8bb81feb02d059a8f69025f8f6f5a6b0.tar.gz
core: add additional notification callback
Especially on slower devices with a large dive list the startup time has become really long. This callback allows us to give the user an idea of what the app is doing during that time. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/qthelper.h')
-rw-r--r--core/qthelper.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/qthelper.h b/core/qthelper.h
index 6e23e6768..bb8876383 100644
--- a/core/qthelper.h
+++ b/core/qthelper.h
@@ -85,6 +85,7 @@ QString getUserAgent();
QString printGPSCoords(const location_t *loc);
extern QString (*changesCallback)();
+void uiNotification(const QString &msg);
#if defined __APPLE__
#define TITLE_OR_TEXT(_t, _m) "", _t + "\n" + _m