Mercurial > hg > orthanc-authorization
comparison Resources/Orthanc/Plugins/OrthancPluginCppWrapper.h @ 71:30fb3ce960d9
configurable user permissions
author | Alain Mazy <am@osimis.io> |
---|---|
date | Wed, 22 Feb 2023 13:13:38 +0100 |
parents | af44dce56328 |
children | 11530895e0b2 |
comparison
equal
deleted
inserted
replaced
70:786b202ef24e | 71:30fb3ce960d9 |
---|---|
344 std::string GetPath(const std::string& key) const; | 344 std::string GetPath(const std::string& key) const; |
345 | 345 |
346 void LoadConfiguration(); | 346 void LoadConfiguration(); |
347 | 347 |
348 public: | 348 public: |
349 OrthancConfiguration(); | 349 OrthancConfiguration(); // loads the full Orthanc configuration |
350 | 350 |
351 explicit OrthancConfiguration(bool load); | 351 explicit OrthancConfiguration(bool load); |
352 | |
353 explicit OrthancConfiguration(const Json::Value& configuration, const std::string& path); // e.g. to load a section from a default json content | |
352 | 354 |
353 const Json::Value& GetJson() const | 355 const Json::Value& GetJson() const |
354 { | 356 { |
355 return configuration_; | 357 return configuration_; |
356 } | 358 } |