comparison OrthancStone/Samples/RtViewerPlugin/Plugin.cpp @ 1530:3eca4f9c2827

sync
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 04 Aug 2020 14:37:41 +0200
parents c815ad10a10f
children
comparison
equal deleted inserted replaced
1529:c1d991462c7b 1530:3eca4f9c2827
105 { 105 {
106 ORTHANC_PLUGINS_API int32_t OrthancPluginInitialize(OrthancPluginContext* context) 106 ORTHANC_PLUGINS_API int32_t OrthancPluginInitialize(OrthancPluginContext* context)
107 { 107 {
108 OrthancPlugins::SetGlobalContext(context); 108 OrthancPlugins::SetGlobalContext(context);
109 109
110 #if defined(ORTHANC_FRAMEWORK_VERSION_IS_ABOVE) // This indicates Orthanc framework >= 1.7.2 110 #if ORTHANC_FRAMEWORK_VERSION_IS_ABOVE(1, 7, 2)
111 Orthanc::Logging::InitializePluginContext(context); 111 Orthanc::Logging::InitializePluginContext(context);
112 #else 112 #else
113 Orthanc::Logging::Initialize(context); 113 Orthanc::Logging::Initialize(context);
114 #endif 114 #endif
115 115