Mercurial > hg > orthanc-stone
comparison 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 |
comparison
equal
deleted
inserted
replaced
2117:48a7f05c3bd5 | 2120:bf8ddc85023e |
---|---|
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 |