31 #ifndef QGPGME_TOFUPOLICYJOB_H
32 #define QGPGME_TOFUPOLICYJOB_H
36 #include "qgpgme_export.h"
38 #ifdef BUILDING_QGPGME
39 # include "tofuinfo.h"
41 # include <gpgme++/tofuinfo.h>
65 virtual void start(
const GpgME::Key &key, GpgME::TofuInfo::Policy policy) = 0;
67 virtual GpgME::Error exec(
const GpgME::Key &key, GpgME::TofuInfo::Policy policy) = 0;
74 void result(
const GpgME::Error &error,
75 const QString &auditLogAsHtml = QString(),
76 const GpgME::Error &auditLogError = GpgME::Error());