cpp: Add wrapper for gpgme_set_global_flag
[gpgme.git] / lang / cpp / src / context.cpp
index 444809a..c0a1dc2 100644 (file)
@@ -1791,3 +1791,8 @@ bool GpgME::hasFeature(unsigned long features, unsigned long features2)
            && features2 == (features2 & supported_features2)
            ;
 }
+
+int GpgME::setGlobalFlag(const char *name, const char *value)
+{
+    return gpgme_set_global_flag(name, value);
+}