summaryrefslogtreecommitdiffstats
path: root/qthelper.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-22 07:05:13 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-08-22 07:05:13 -0700
commitccd2cb25020e62f37fbf15dcc8b6eccbd643b7f0 (patch)
treed18a50a7448fc6b71ac18c2f99c54c938843dc8b /qthelper.h
parente86fd45efde7e8314b8045cb88495c48838bb4bd (diff)
downloadsubsurface-ccd2cb25020e62f37fbf15dcc8b6eccbd643b7f0.tar.gz
Continue to separate logic code from UI code
We don't want to call into the MainWindow from C code. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qthelper.h')
-rw-r--r--qthelper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qthelper.h b/qthelper.h
index 674f036d3..073010d9f 100644
--- a/qthelper.h
+++ b/qthelper.h
@@ -36,6 +36,8 @@ fraction_t string_to_fraction(const char *str);
int getCloudURL(QString &filename);
void loadPreferences();
bool parseGpsText(const QString &gps_text, double *latitude, double *longitude);
+QByteArray getCurrentAppState();
+void setCurrentAppState(QByteArray state);
extern "C" bool in_planner();
#endif // QTHELPER_H