mirror of
https://github.com/QRouland/UTPass.git
synced 2026-01-11 03:46:58 +00:00
Rewrite import key with rnp
This commit is contained in:
@@ -1,19 +1,25 @@
|
||||
#ifndef TESTSUTILS_H
|
||||
#define TESTSUTILS_H
|
||||
|
||||
#include "passphraseprovider.h"
|
||||
#include <QObject>
|
||||
#include <QUrl>
|
||||
#include <QQuickWindow>
|
||||
#include <memory>
|
||||
|
||||
class TestsUtils : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
private:
|
||||
std::unique_ptr<TesTPassphraseProvider> m_passphrase_povider;
|
||||
|
||||
public:
|
||||
TestsUtils() = default;
|
||||
TestsUtils();
|
||||
~TestsUtils() override = default;
|
||||
|
||||
Q_INVOKABLE QString getTempPath();
|
||||
Q_INVOKABLE QObject* getTestPassphraseProvider();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user