diff options
author | Carl Schwan <[email protected]> | 2023-07-25 13:39:06 +0000 |
---|---|---|
committer | Carl Schwan <[email protected]> | 2023-08-04 09:34:27 +0000 |
commit | 8701e989376dfa772f299fe41bf4a60a98f8564e (patch) | |
tree | 457d8ac35053723293f38c327c65cce34ef5c94d /lang/cpp/src/decryptionresult.h | |
parent | qt: Add setInputEncoding to QGpgMe::EncryptJob (diff) | |
download | gpgme-8701e989376dfa772f299fe41bf4a60a98f8564e.tar.gz gpgme-8701e989376dfa772f299fe41bf4a60a98f8564e.zip |
cpp: Expose gpgme_decrypt_result_t.is_mime through cpp API
* lang/cpp/src/descriptionresult.cpp (DescriptionResult::isMime): New.
* lang/cpp/src/descriptionresult.h: Update accordingly.
--
This exposes the is_mime metadata from a decryption result to users
of the C++ library.
GnuPG-bug-id: 6199
Signed-off-by: Carl Schwan <[email protected]>
Diffstat (limited to 'lang/cpp/src/decryptionresult.h')
-rw-r--r-- | lang/cpp/src/decryptionresult.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lang/cpp/src/decryptionresult.h b/lang/cpp/src/decryptionresult.h index 84026d39..316d0413 100644 --- a/lang/cpp/src/decryptionresult.h +++ b/lang/cpp/src/decryptionresult.h @@ -75,6 +75,7 @@ public: } bool isWrongKeyUsage() const; bool isDeVs() const; + bool isMime() const; const char *fileName() const; |