35 #ifndef __QGPGME_QGPGMEDECRYPTJOB_H__
36 #define __QGPGME_QGPGMEDECRYPTJOB_H__
38 #include "decryptjob.h"
40 #include "threadedjobmixin.h"
42 #ifdef BUILDING_QGPGME
43 # include "decryptionresult.h"
45 #include <gpgme++/decryptionresult.h>
68 GpgME::Error
start(
const QByteArray &cipherText)
override;
71 void start(
const std::shared_ptr<QIODevice> &cipherText,
const std::shared_ptr<QIODevice> &plainText)
override;
74 GpgME::DecryptionResult exec(
const QByteArray &cipherText,
75 QByteArray &plainText)
override;
78 void resultHook(
const result_type &r)
override;
81 GpgME::DecryptionResult mResult;
An abstract base class for asynchronous decrypters.
Definition: decryptjob.h:68
Definition: qgpgmedecryptjob.h:57
GpgME::Error start(const QByteArray &cipherText) override
Definition: qgpgmedecryptjob.cpp:109
Definition: threadedjobmixin.h:131