Mercurial > hg > orthanc-authorization
comparison Plugin/Plugin.cpp @ 35:9bdfa76c8923
merge
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 01 Jul 2020 16:10:12 +0200 |
parents | 53dbed29949a b9c536bf598b |
children | 8ada1b669194 |
comparison
equal
deleted
inserted
replaced
34:53dbed29949a | 35:9bdfa76c8923 |
---|---|
255 ORTHANC_PLUGINS_MINIMAL_MINOR_NUMBER, | 255 ORTHANC_PLUGINS_MINIMAL_MINOR_NUMBER, |
256 ORTHANC_PLUGINS_MINIMAL_REVISION_NUMBER); | 256 ORTHANC_PLUGINS_MINIMAL_REVISION_NUMBER); |
257 return -1; | 257 return -1; |
258 } | 258 } |
259 | 259 |
260 #if defined(ORTHANC_FRAMEWORK_VERSION_IS_ABOVE) // This indicates Orthanc framework >= 1.7.2 | |
260 Orthanc::Logging::InitializePluginContext(context); | 261 Orthanc::Logging::InitializePluginContext(context); |
262 #else | |
263 Orthanc::Logging::Initialize(context); | |
264 #endif | |
265 | |
261 OrthancPluginSetDescription(context, "Advanced authorization plugin for Orthanc."); | 266 OrthancPluginSetDescription(context, "Advanced authorization plugin for Orthanc."); |
262 | 267 |
263 try | 268 try |
264 { | 269 { |
265 OrthancPlugins::OrthancConfiguration general; | 270 OrthancPlugins::OrthancConfiguration general; |