Mercurial > hg > orthanc-transfers
diff Plugin/Plugin.cpp @ 70:3f43bfbea00e
fix deprecated calls
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 22 Mar 2024 15:37:40 +0100 |
parents | b09adb6aa199 |
children | 1e396fb509ca |
line wrap: on
line diff
--- a/Plugin/Plugin.cpp Wed Dec 20 22:22:10 2023 +0100 +++ b/Plugin/Plugin.cpp Fri Mar 22 15:37:40 2024 +0100 @@ -639,8 +639,8 @@ return -1; } - OrthancPluginSetDescription(context, "Accelerates transfers and provides " - "storage commitment between Orthanc peers"); + OrthancPlugins::SetDescription(PLUGIN_NAME, "Accelerates transfers and provides " + "storage commitment between Orthanc peers"); try { @@ -708,7 +708,7 @@ std::string explorer; Orthanc::EmbeddedResources::GetFileResource (explorer, Orthanc::EmbeddedResources::ORTHANC_EXPLORER); - OrthancPluginExtendOrthancExplorer(context, explorer.c_str()); + OrthancPlugins::ExtendOrthancExplorer(PLUGIN_NAME, explorer); } catch (Orthanc::OrthancException& e) {