comparison Applications/Samples/RtViewerPlugin/Plugin.cpp @ 2121:4cc9e4a54a89

simplification
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 22 Mar 2024 16:09:42 +0100
parents 11bc8a304038
children 16c01cc201e7
comparison
equal deleted inserted replaced
2119:11bc8a304038 2121:4cc9e4a54a89
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 OrthancPlugins::ExtendOrthancExplorer(PLUGIN_NAME, explorer.c_str()); 136 OrthancPlugins::ExtendOrthancExplorer(PLUGIN_NAME, explorer);
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