From 7981ec4147f3058d5b56905903456247993dc6f7 Mon Sep 17 00:00:00 2001 From: Andre Heinecke Date: Wed, 24 Apr 2019 12:34:48 +0200 Subject: cpp: Add wrapper for gpgme_set_global_flag * lang/cpp/src/context.cpp (setGlobalFlag): New. * lang/cpp/src/global.h (setGlobalFlag): Export it. -- GnuPG-Bug-Id: T4471 --- lang/cpp/src/global.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lang/cpp/src/global.h') diff --git a/lang/cpp/src/global.h b/lang/cpp/src/global.h index 9760e215..d5c2e135 100644 --- a/lang/cpp/src/global.h +++ b/lang/cpp/src/global.h @@ -98,6 +98,9 @@ GPGMEPP_EXPORT const char *dirInfo(const char *what); GPGMEPP_EXPORT Error checkEngine(Protocol proto); GPGMEPP_EXPORT Error checkEngine(Engine engine); +/* Wrapper for gpgme_set_global_flag */ +GPGMEPP_EXPORT int setGlobalFlag(const char *name, const char *value); + GPGMEPP_EXPORT GIOChannel *getGIOChannel(int fd); GPGMEPP_EXPORT QIODevice *getQIODevice(int fd); -- cgit v1.2.3