Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/keys/FileKey.h')
-rw-r--r--src/keys/FileKey.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/keys/FileKey.h b/src/keys/FileKey.h
index 3f04edede..295fe5565 100644
--- a/src/keys/FileKey.h
+++ b/src/keys/FileKey.h
@@ -28,6 +28,8 @@ class QIODevice;
class FileKey : public Key
{
public:
+ static QUuid UUID;
+
enum Type
{
None,
@@ -37,10 +39,10 @@ public:
FixedBinaryHex
};
+ FileKey();
bool load(QIODevice* device);
bool load(const QString& fileName, QString* errorMsg = nullptr);
QByteArray rawKey() const override;
- FileKey* clone() const override;
Type type() const;
static void create(QIODevice* device, int size = 128);
static bool create(const QString& fileName, QString* errorMsg = nullptr, int size = 128);