From 4d384d7bfef044094695271576ca233625bb520a Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Fri, 16 Sep 2016 16:54:07 +0200 Subject: cpp: Add support for gpgme_op_tofu_policy * src/context.cpp, src/context.h (setTofuPolicy, setTofuPolicyStart): New. --- lang/cpp/src/context.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lang/cpp/src/context.h') diff --git a/lang/cpp/src/context.h b/lang/cpp/src/context.h index f5e2b958..b1e4f5ff 100644 --- a/lang/cpp/src/context.h +++ b/lang/cpp/src/context.h @@ -214,6 +214,10 @@ public: GpgME::Error edit(const Key &key, std::unique_ptr function, Data &out); GpgME::Error startEditing(const Key &key, std::unique_ptr function, Data &out); + // using TofuInfo::Policy + Error setTofuPolicy(const Key &k, unsigned int policy); + Error setTofuPolicyStart(const Key &k, unsigned int policy); + EditInteractor *lastEditInteractor() const; std::unique_ptr takeLastEditInteractor(); -- cgit v1.2.3