forked from Public/monero-gui
Detect tails, support data persistence
Co-authored-by: Thotbot <thotbot@protonmail.com> Co-authored-by: Selsta <selsta@sent.at>
This commit is contained in:
23
src/qt/TailsOS.h
Normal file
23
src/qt/TailsOS.h
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user