diff Plugins/Samples/Common/OrthancPluginCppWrapper.h @ 2167:aa2915963531

"Folders" sub-configuration in ServeFolders
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 22 Nov 2016 14:19:42 +0100
parents d5c29fd74ffa
children fead5549aaa7
line wrap: on
line diff
--- a/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Tue Nov 22 13:38:20 2016 +0100
+++ b/Plugins/Samples/Common/OrthancPluginCppWrapper.h	Tue Nov 22 14:19:42 2016 +0100
@@ -191,7 +191,7 @@
   {
   private:
     OrthancPluginContext*  context_;
-    Json::Value            configuration_;
+    Json::Value            configuration_;  // Necessarily a Json::objectValue
     std::string            path_;
 
     std::string GetPath(const std::string& key) const;
@@ -210,6 +210,8 @@
       return configuration_;
     }
 
+    bool IsSection(const std::string& key) const;
+
     void GetSection(OrthancConfiguration& target,
                     const std::string& key) const;