diff options
author | Andre Heinecke <[email protected]> | 2016-08-25 12:29:41 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2016-08-25 12:29:41 +0000 |
commit | 94420b05775122b25885c66ac67f77c59d01644d (patch) | |
tree | 8b21ee1cfc0caf7a42416195d0b6afe53692f05e /lang/qt/src/protocol.h | |
parent | Cpp: Change firstSeen / lastSeen return values (diff) | |
download | gpgme-94420b05775122b25885c66ac67f77c59d01644d.tar.gz gpgme-94420b05775122b25885c66ac67f77c59d01644d.zip |
qt: Add WKSPublishJob
* lang/qt/src/Makefile.am: Add new files.
* lang/qt/src/job.cpp: Include moc / subclass stub.
* lang/qt/src/protocol.h: Add virtual for new job.
* lang/qt/src/protocol_p.h: Add job.
* lang/qt/src/wkspublishjob.h: Interface for WKSPublishJob.
* lang/qt/src/qgpgmewkspublishjob.cpp,
lang/qt/src/qgpgmewkspublishjob.h: New.
--
The Job was originally intended to be used with a SpawnEngine
Context but QProcess was a better fit for the job.
Usage is similar to the client tool. check, create, recieve.
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 23b9d937..b2dee1de 100644 --- a/lang/qt/src/protocol.h +++ b/lang/qt/src/protocol.h @@ -63,6 +63,7 @@ class ChangePasswdJob; class AddUserIDJob; class SpecialJob; class KeyForMailboxJob; +class WKSPublishJob; /** The main entry point for QGpgME Comes in OpenPGP and SMIME(CMS) flavors. * @@ -148,6 +149,9 @@ public: virtual KeyListJob *locateKeysJob() const = 0; /** Find the best key to use for a mailbox. */ virtual KeyForMailboxJob *keyForMailboxJob() const = 0; + + /** A Job for interacting with gnupg's wks tools. */ + virtual WKSPublishJob *wksPublishJob() const = 0; }; /** Obtain a reference to the OpenPGP Protocol. |