diff Core/WebServiceParameters.h @ 3444:6fe42a335a80

WebServiceParameters::GetBooleanUserProperty()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 24 Jun 2019 17:15:03 +0200
parents 595bfee4391a
children 94f4a18a79cc
line wrap: on
line diff
--- a/Core/WebServiceParameters.h	Mon Jun 24 16:55:28 2019 +0200
+++ b/Core/WebServiceParameters.h	Mon Jun 24 17:15:03 2019 +0200
@@ -162,7 +162,10 @@
     void ListUserProperties(std::set<std::string>& target) const; 
 
     bool LookupUserProperty(std::string& value,
-                            const std::string& key) const; 
+                            const std::string& key) const;
+
+    bool GetBooleanUserProperty(const std::string& key,
+                                bool defaultValue) const;
 
     bool IsAdvancedFormatNeeded() const;