diff options
author | Andre Heinecke <[email protected]> | 2016-09-16 14:55:25 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2016-09-16 14:58:39 +0000 |
commit | 77aecfb5c97cea1a99f1ff627748cf71767bac5c (patch) | |
tree | 6e8b6d4d64946487a3f06a3c4f43789665d1b3fc /lang/qt/src/protocol.h | |
parent | cpp: Add support for gpgme_op_tofu_policy (diff) | |
download | gpgme-77aecfb5c97cea1a99f1ff627748cf71767bac5c.tar.gz gpgme-77aecfb5c97cea1a99f1ff627748cf71767bac5c.zip |
qt: Add job for tofupolicy
* lang/qt/src/job.cpp, lang/qt/src/protocol.h,
lang/qt/src/protocol_p.h: Register job.
* lang/qt/src/qgpgmetofupolicyjob.cpp,
lang/qt/src/qgpgmetofupolicyjob.h,
lang/qt/src/tofupolicyjob.h: New.
* lang/qt/src/Makefile.am: Update accordingly.
Diffstat (limited to '')
-rw-r--r-- | lang/qt/src/protocol.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/qt/src/protocol.h b/lang/qt/src/protocol.h index b2dee1de..40ddcb53 100644 --- a/lang/qt/src/protocol.h +++ b/lang/qt/src/protocol.h @@ -64,6 +64,7 @@ class AddUserIDJob; class SpecialJob; class KeyForMailboxJob; class WKSPublishJob; +class TofuPolicyJob; /** The main entry point for QGpgME Comes in OpenPGP and SMIME(CMS) flavors. * @@ -152,6 +153,9 @@ public: /** A Job for interacting with gnupg's wks tools. */ virtual WKSPublishJob *wksPublishJob() const = 0; + + /** A Job to set tofu policy */ + virtual TofuPolicyJob *tofuPolicyJob() const = 0; }; /** Obtain a reference to the OpenPGP Protocol. |