34 #ifndef __QGPGME_ENCRYPTARCHIVEJOB_H__
35 #define __QGPGME_ENCRYPTARCHIVEJOB_H__
39 #ifdef BUILDING_QGPGME
42 # include <gpgme++/context.h>
64 static bool isSupported();
66 void setBaseDirectory(
const QString &baseDirectory);
67 QString baseDirectory()
const;
78 virtual GpgME::Error
start(
const std::vector<GpgME::Key> &recipients,
79 const std::vector<QString> &paths,
80 const std::shared_ptr<QIODevice> &cipherText,
81 const GpgME::Context::EncryptionFlags flags) = 0;
101 void result(
const GpgME::EncryptionResult &result,
102 const QString &auditLogAsHtml = {},
103 const GpgME::Error &auditLogError = {});
Definition: encryptarchivejob.h:57
virtual GpgME::Error start(const std::vector< GpgME::Key > &recipients, const std::vector< QString > &paths, const std::shared_ptr< QIODevice > &cipherText, const GpgME::Context::EncryptionFlags flags)=0
void fileProgress(int current, int total)
void dataProgress(int current, int total)
An abstract base class for asynchronous crypto operations.
Definition: job.h:73