34#ifndef __QGPGME_SIGNARCHIVEJOB_H__
35#define __QGPGME_SIGNARCHIVEJOB_H__
39#include <gpgme++/context.h>
60 static bool isSupported();
67 void setSigners(
const std::vector<GpgME::Key> &signers);
68 std::vector<GpgME::Key> signers()
const;
78 void setInputPaths(
const std::vector<QString> &
paths);
79 std::vector<QString> inputPaths()
const;
93 void setOutputFile(
const QString &path);
100 void setBaseDirectory(
const QString &baseDirectory);
112 virtual GpgME::Error
start(
const std::vector<GpgME::Key> &signers,
113 const std::vector<QString> &
paths,
114 const std::shared_ptr<QIODevice> &
output) = 0;
134 void result(
const GpgME::SigningResult &result,
135 const QString &auditLogAsHtml = {},
136 const GpgME::Error &auditLogError = {});
An abstract base class for asynchronous crypto operations.
Definition job.h:69
Definition signarchivejob.h:53
void fileProgress(int current, int total)
void dataProgress(int current, int total)
virtual GpgME::Error start(const std::vector< GpgME::Key > &signers, const std::vector< QString > &paths, const std::shared_ptr< QIODevice > &output)=0
Definition qgpgmebackend.h:43