diff options
| author | dsc <xmrdsc@protonmail.com> | 2019-07-03 05:13:51 +0200 |
|---|---|---|
| committer | dsc <xmrdsc@protonmail.com> | 2019-07-16 18:33:44 +0200 |
| commit | 0b6132897101c4cd1618c79049d5685c5e9874fa (patch) | |
| tree | e59e9bf4eaff9296b9c10a9d9a7207b565a2ae1c /src/qt/TailsOS.h | |
| parent | cfec9dde968cb89f8fe5293958b82181348111ea (diff) | |
| download | monzero-gui-0b6132897101c4cd1618c79049d5685c5e9874fa.tar.gz monzero-gui-0b6132897101c4cd1618c79049d5685c5e9874fa.tar.xz monzero-gui-0b6132897101c4cd1618c79049d5685c5e9874fa.zip | |
Detect tails, support data persistence
Co-authored-by: Thotbot <thotbot@protonmail.com>
Co-authored-by: Selsta <selsta@sent.at>
Diffstat (limited to 'src/qt/TailsOS.h')
| -rw-r--r-- | src/qt/TailsOS.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/qt/TailsOS.h b/src/qt/TailsOS.h new file mode 100644 index 00000000..05d5ebd1 --- /dev/null +++ b/src/qt/TailsOS.h @@ -0,0 +1,23 @@ +#ifndef TAILSOS_H +#define TAILSOS_H + +#include <QApplication> + + +class TailsOS +{ +public: + TailsOS(); + static bool detect(); + static bool detectDataPersistence(); + static bool detectDotPersistence(); + + static void showDataPersistenceDisabledWarning(); + static void askPersistence(); + static void persistXdgMime(QString filePath, QString data); + + static bool usePersistence; + static QString tailsPathData; +}; + +#endif // TAILSOS_H |
