Mercurial > hg > orthanc-stone
comparison Applications/StoneWebViewer/Plugin/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 |
---|---|
282 OrthancPlugins::SetDescription(PLUGIN_NAME, "Stone Web viewer"); | 282 OrthancPlugins::SetDescription(PLUGIN_NAME, "Stone Web viewer"); |
283 | 283 |
284 std::string explorer; | 284 std::string explorer; |
285 Orthanc::EmbeddedResources::GetFileResource( | 285 Orthanc::EmbeddedResources::GetFileResource( |
286 explorer, Orthanc::EmbeddedResources::ORTHANC_EXPLORER); | 286 explorer, Orthanc::EmbeddedResources::ORTHANC_EXPLORER); |
287 OrthancPlugins::ExtendOrthancExplorer(PLUGIN_NAME, explorer.c_str()); | 287 OrthancPlugins::ExtendOrthancExplorer(PLUGIN_NAME, explorer); |
288 | 288 |
289 OrthancPlugins::RegisterRestCallback<ServeConfiguration> | 289 OrthancPlugins::RegisterRestCallback<ServeConfiguration> |
290 (STONE_WEB_VIEWER_ROOT + "/configuration.json", true); | 290 (STONE_WEB_VIEWER_ROOT + "/configuration.json", true); |
291 | 291 |
292 OrthancPlugins::RegisterRestCallback | 292 OrthancPlugins::RegisterRestCallback |