comparison Applications/Samples/RtViewerPlugin/Plugin.cpp @ 2119:11bc8a304038

fix deprecated calls
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 16 Mar 2024 12:04:50 +0100
parents c23eef785569
children 4cc9e4a54a89
comparison
equal deleted inserted replaced
2118:7926c9a09757 2119:11bc8a304038
131 try 131 try
132 { 132 {
133 std::string explorer; 133 std::string explorer;
134 Orthanc::EmbeddedResources::GetFileResource( 134 Orthanc::EmbeddedResources::GetFileResource(
135 explorer, Orthanc::EmbeddedResources::ORTHANC_EXPLORER); 135 explorer, Orthanc::EmbeddedResources::ORTHANC_EXPLORER);
136 OrthancPluginExtendOrthancExplorer(OrthancPlugins::GetGlobalContext(), explorer.c_str()); 136 OrthancPlugins::ExtendOrthancExplorer(PLUGIN_NAME, explorer.c_str());
137 137
138 // RtViewer files below. 138 // RtViewer files below.
139 // --------------------- 139 // ---------------------
140 // we do not serve the whole directory at once (with ServeEmbeddedFolder) 140 // we do not serve the whole directory at once (with ServeEmbeddedFolder)
141 // because it contains uppercase characters that are forbidden by the 141 // because it contains uppercase characters that are forbidden by the