diff options
author | Andre Heinecke <[email protected]> | 2016-11-14 15:13:27 +0000 |
---|---|---|
committer | Andre Heinecke <[email protected]> | 2016-11-14 19:47:17 +0000 |
commit | d09a84eaf1e4f8c6c2e462995fa15c1a5690a6ce (patch) | |
tree | c93e37bd6a00921554ab748e3c19ba15b62828da /lang/cpp/src/context.h | |
parent | qt, cpp: Enable dll build for windows (diff) | |
download | gpgme-d09a84eaf1e4f8c6c2e462995fa15c1a5690a6ce.tar.gz gpgme-d09a84eaf1e4f8c6c2e462995fa15c1a5690a6ce.zip |
cpp: Add get / set Sender API
* cpp/src/context.cpp, cpp/src/context.h (Context::setSender),
(Context::getSender): Add simple wrappers.
Diffstat (limited to 'lang/cpp/src/context.h')
-rw-r--r-- | lang/cpp/src/context.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/cpp/src/context.h b/lang/cpp/src/context.h index ab15a218..2c205b02 100644 --- a/lang/cpp/src/context.h +++ b/lang/cpp/src/context.h @@ -304,6 +304,10 @@ public: GpgME::Error startSigning(const Data &plainText, Data &signature, SignatureMode mode); SigningResult signingResult() const; + // wrapper for gpgme_set_sender + const char *getSender(); + GpgME::Error setSender(const char *sender); + // // Encryption // |