Files
amnezia-client/client/secureformat.h
T

22 lines
424 B
C++
Raw Normal View History

2022-07-29 10:36:54 +06:00
#ifndef SECUREFORMAT_H
#define SECUREFORMAT_H
#include <QSettings>
#include <QIODevice>
class SecureFormat
{
public:
SecureFormat();
static bool readSecureFile(QIODevice &device, QSettings::SettingsMap &map);
static bool writeSecureFile(QIODevice &device, const QSettings::SettingsMap &map);
const QSettings::Format& format() const;
private:
QSettings::Format m_format;
};
#endif // SECUREFORMAT_H