Mercurial > hg > orthanc-stone
comparison Applications/StoneWebViewer/Plugin/Plugin.cpp @ 2118:7926c9a09757
added description to plugin
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 16 Mar 2024 10:48:59 +0100 |
parents | c23eef785569 |
children | 11bc8a304038 |
comparison
equal
deleted
inserted
replaced
2116:15f11bb8de32 | 2118:7926c9a09757 |
---|---|
277 return -1; | 277 return -1; |
278 } | 278 } |
279 | 279 |
280 try | 280 try |
281 { | 281 { |
282 OrthancPluginSetDescription(OrthancPlugins::GetGlobalContext(), "Stone Web viewer"); | |
283 | |
282 std::string explorer; | 284 std::string explorer; |
283 Orthanc::EmbeddedResources::GetFileResource( | 285 Orthanc::EmbeddedResources::GetFileResource( |
284 explorer, Orthanc::EmbeddedResources::ORTHANC_EXPLORER); | 286 explorer, Orthanc::EmbeddedResources::ORTHANC_EXPLORER); |
285 OrthancPluginExtendOrthancExplorer(OrthancPlugins::GetGlobalContext(), explorer.c_str()); | 287 OrthancPluginExtendOrthancExplorer(OrthancPlugins::GetGlobalContext(), explorer.c_str()); |
286 | 288 |