Hush lite wallet
https://faq.hush.is/sdl
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
497 B
24 lines
497 B
4 years ago
|
#ifndef FILESYSTEM_H
|
||
|
#define FILESYSTEM_H
|
||
|
|
||
|
#include <QString>
|
||
|
#include <QList>
|
||
|
#include "../Model/ContactItem.h"
|
||
|
#include "../Crypto/FileEncryption.h"
|
||
|
|
||
|
class FileSystem
|
||
|
{
|
||
|
private:
|
||
|
static bool instanced;
|
||
|
static FileSystem* instance;
|
||
|
FileSystem();
|
||
|
|
||
|
public:
|
||
|
static FileSystem* getInstance();
|
||
|
QList<ContactItem> readContacts(QString file);
|
||
|
void writeContacts(QString file, QList<ContactItem> contacts);
|
||
|
~FileSystem();
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif
|