diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-08-22 07:05:13 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-08-22 07:05:13 -0700 |
commit | ccd2cb25020e62f37fbf15dcc8b6eccbd643b7f0 (patch) | |
tree | d18a50a7448fc6b71ac18c2f99c54c938843dc8b /qthelper.h | |
parent | e86fd45efde7e8314b8045cb88495c48838bb4bd (diff) | |
download | subsurface-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.h | 2 |
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 |