33 #ifndef __KLEO_KEYFORMAILBOX_H__
34 #define __KLEO_KEYFORMAILBOX_H__
40 #ifdef BUILDING_QGPGME
43 # include <gpgme++/key.h>
92 virtual GpgME::Error
start(
const QString &mailbox,
bool canEncrypt =
true) = 0;
94 virtual GpgME::KeyListResult exec(
const QString &mailbox,
bool canEncrypt, GpgME::Key &key, GpgME::UserID &uid) = 0;
103 void result(
const GpgME::KeyListResult &result,
const GpgME::Key &key,
const GpgME::UserID &uid,
const QString &auditLogAsHtml = QString(),
const GpgME::Error &auditLogError = GpgME::Error());
An abstract base class for asynchronous crypto operations.
Definition: job.h:73