aboutsummaryrefslogtreecommitdiffstats
path: root/lang/qt/src/protocol.h
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2022-02-17 08:52:19 +0000
committerIngo Klöcker <[email protected]>2022-02-17 08:54:45 +0000
commitad3aabdd8a64156c7e3a75d695ae1ab2c4bec841 (patch)
tree043ea5d445c4e06c98fd6c906c3651a73d6cf9f8 /lang/qt/src/protocol.h
parentPost release updates (diff)
downloadgpgme-ad3aabdd8a64156c7e3a75d695ae1ab2c4bec841.tar.gz
gpgme-ad3aabdd8a64156c7e3a75d695ae1ab2c4bec841.zip
qt: Fix ABI compatibility with 1.16.0
* lang/qt/src/protocol.h (class Protocol): Move new virtual methods to the end of the class. -- This makes the vtable offsets of the old virtual methods match those in 1.16.0 again. GnuPG-bug-id: 5834
Diffstat (limited to 'lang/qt/src/protocol.h')
-rw-r--r--lang/qt/src/protocol.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/lang/qt/src/protocol.h b/lang/qt/src/protocol.h
index 25c71eff..62b2cb2f 100644
--- a/lang/qt/src/protocol.h
+++ b/lang/qt/src/protocol.h
@@ -127,11 +127,9 @@ public:
virtual KeyGenerationJob *keyGenerationJob() const = 0;
virtual ImportJob *importJob() const = 0;
virtual ImportFromKeyserverJob *importFromKeyserverJob() const = 0;
- virtual ReceiveKeysJob *receiveKeysJob() const = 0;
virtual ExportJob *publicKeyExportJob(bool armor = false) const = 0;
// the second parameter is ignored; the passphrase in the exported file is always utf-8 encoded
virtual ExportJob *secretKeyExportJob(bool armor = false, const QString & = QString()) const = 0;
- virtual ExportJob *secretSubkeyExportJob(bool armor = false) const = 0;
virtual DownloadJob *downloadJob(bool armor = false) const = 0;
virtual DeleteJob *deleteJob() const = 0;
virtual SignEncryptJob *signEncryptJob(bool armor = false, bool textMode = false) const = 0;
@@ -141,7 +139,6 @@ public:
virtual SignKeyJob *signKeyJob() const = 0;
virtual ChangePasswdJob *changePasswdJob() const = 0;
virtual ChangeOwnerTrustJob *changeOwnerTrustJob() const = 0;
- virtual AddExistingSubkeyJob *addExistingSubkeyJob() const = 0;
virtual AddUserIDJob *addUserIDJob() const = 0;
virtual SpecialJob *specialJob(const char *type, const QMap<QString, QVariant> &args) const = 0;
@@ -161,9 +158,6 @@ public:
/** Find the best key to use for a mailbox. */
virtual KeyForMailboxJob *keyForMailboxJob() const = 0;
- /** This job looks up a key via WKD without importing it. */
- virtual WKDLookupJob *wkdLookupJob() const = 0;
-
/** A Job for interacting with gnupg's wks tools. */
virtual WKSPublishJob *wksPublishJob() const = 0;
@@ -172,6 +166,13 @@ public:
/** A Job for the quick commands */
virtual QuickJob *quickJob() const = 0;
+
+ /** This job looks up a key via WKD without importing it. */
+ virtual WKDLookupJob *wkdLookupJob() const = 0;
+
+ virtual ExportJob *secretSubkeyExportJob(bool armor = false) const = 0;
+ virtual AddExistingSubkeyJob *addExistingSubkeyJob() const = 0;
+ virtual ReceiveKeysJob *receiveKeysJob() const = 0;
};
/** Obtain a reference to the OpenPGP Protocol.