comparison StoneWebViewer/Plugin/Plugin.cpp @ 1530:3eca4f9c2827

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 04 Aug 2020 14:37:41 +0200
parents 61023b0d39c8
children
comparison
equal deleted inserted replaced
1529:c1d991462c7b 1530:3eca4f9c2827
163 { 163 {
164 ORTHANC_PLUGINS_API int32_t OrthancPluginInitialize(OrthancPluginContext* context) 164 ORTHANC_PLUGINS_API int32_t OrthancPluginInitialize(OrthancPluginContext* context)
165 { 165 {
166 OrthancPlugins::SetGlobalContext(context); 166 OrthancPlugins::SetGlobalContext(context);
167 167
168 #if defined(ORTHANC_FRAMEWORK_VERSION_IS_ABOVE) // This indicates Orthanc framework >= 1.7.2 168 #if ORTHANC_FRAMEWORK_VERSION_IS_ABOVE(1, 7, 2)
169 Orthanc::Logging::InitializePluginContext(context); 169 Orthanc::Logging::InitializePluginContext(context);
170 #else 170 #else
171 Orthanc::Logging::Initialize(context); 171 Orthanc::Logging::Initialize(context);
172 #endif 172 #endif
173 173