Mercurial > hg > orthanc-object-storage
comparison Common/StoragePlugin.cpp @ 143:82ab647f7e73
fix deprecated calls
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 22 Mar 2024 15:26:19 +0100 |
parents | 12ea59c97c40 |
children | 3c7e0374f28e |
comparison
equal
deleted
inserted
replaced
142:c6edc5caca7a | 143:82ab647f7e73 |
---|---|
532 Orthanc::Logging::InitializePluginContext(context); | 532 Orthanc::Logging::InitializePluginContext(context); |
533 | 533 |
534 OrthancPlugins::OrthancConfiguration orthancConfig; | 534 OrthancPlugins::OrthancConfiguration orthancConfig; |
535 | 535 |
536 OrthancPlugins::LogWarning(std::string(StoragePluginFactory::GetStoragePluginName()) + " plugin is initializing"); | 536 OrthancPlugins::LogWarning(std::string(StoragePluginFactory::GetStoragePluginName()) + " plugin is initializing"); |
537 OrthancPluginSetDescription(context, StoragePluginFactory::GetStorageDescription()); | 537 OrthancPlugins::SetDescription(StoragePluginFactory::GetStoragePluginName(), StoragePluginFactory::GetStorageDescription()); |
538 | 538 |
539 /* Check the version of the Orthanc core */ | 539 /* Check the version of the Orthanc core */ |
540 if (OrthancPluginCheckVersion(context) == 0) | 540 if (OrthancPluginCheckVersion(context) == 0) |
541 { | 541 { |
542 char info[1024]; | 542 char info[1024]; |