Mercurial > hg > orthanc-transfers
comparison Plugin/Plugin.cpp @ 29:a0af5a8182a8
sync, removed old patch for Orthanc framework 1.5.6
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 04 Aug 2020 14:26:01 +0200 |
parents | dfc43678aecb |
children | cfeda58d0c8e |
comparison
equal
deleted
inserted
replaced
28:b7e32fe4973b | 29:a0af5a8182a8 |
---|---|
615 | 615 |
616 extern "C" | 616 extern "C" |
617 { | 617 { |
618 ORTHANC_PLUGINS_API int32_t OrthancPluginInitialize(OrthancPluginContext* context) | 618 ORTHANC_PLUGINS_API int32_t OrthancPluginInitialize(OrthancPluginContext* context) |
619 { | 619 { |
620 #if defined(ORTHANC_FRAMEWORK_VERSION_IS_ABOVE) // This indicates Orthanc framework >= 1.7.2 | 620 #if ORTHANC_FRAMEWORK_VERSION_IS_ABOVE(1, 7, 2) |
621 Orthanc::Logging::InitializePluginContext(context); | 621 Orthanc::Logging::InitializePluginContext(context); |
622 #else | 622 #else |
623 Orthanc::Logging::Initialize(context); | 623 Orthanc::Logging::Initialize(context); |
624 #endif | 624 #endif |
625 | 625 |