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) Q_DECL_OVERRIDE;
71 void start(
const std::shared_ptr<QIODevice> &cipherText,
const std::shared_ptr<QIODevice> &plainText) Q_DECL_OVERRIDE;
74 GpgME::DecryptionResult exec(
const QByteArray &cipherText,
75 QByteArray &plainText) Q_DECL_OVERRIDE;
78 void resultHook(
const result_type &r) Q_DECL_OVERRIDE;
81 GpgME::DecryptionResult mResult;
85 #endif // __QGPGME_QGPGMEDECRYPTJOB_H__