Mercurial > hg > orthanc-stone
diff Applications/Samples/RtViewerPlugin/Plugin.cpp @ 2120:bf8ddc85023e dicom-sr
fix deprecated calls
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 16 Mar 2024 12:06:07 +0100 |
parents | 11bc8a304038 |
children | 4cc9e4a54a89 |
line wrap: on
line diff
--- a/Applications/Samples/RtViewerPlugin/Plugin.cpp Sat Mar 09 10:01:30 2024 +0100 +++ b/Applications/Samples/RtViewerPlugin/Plugin.cpp Sat Mar 16 12:06:07 2024 +0100 @@ -133,7 +133,7 @@ std::string explorer; Orthanc::EmbeddedResources::GetFileResource( explorer, Orthanc::EmbeddedResources::ORTHANC_EXPLORER); - OrthancPluginExtendOrthancExplorer(OrthancPlugins::GetGlobalContext(), explorer.c_str()); + OrthancPlugins::ExtendOrthancExplorer(PLUGIN_NAME, explorer.c_str()); // RtViewer files below. // ---------------------