mirror of
https://github.com/QRouland/UTPass.git
synced 2025-02-11 23:17:15 +00:00
26 lines
448 B
C++
26 lines
448 B
C++
#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();
|
|
~TestsUtils() override = default;
|
|
|
|
Q_INVOKABLE QString getTempPath();
|
|
Q_INVOKABLE QObject* getTestPassphraseProvider();
|
|
};
|
|
|
|
#endif
|