diff Applications/StoneWebViewer/Plugin/Plugin.cpp @ 2123:538c7b7c6e46 deep-learning

integration mainline->deep-learning
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 22 Mar 2024 16:11:42 +0100
parents 4cc9e4a54a89
children 16c01cc201e7
line wrap: on
line diff
--- a/Applications/StoneWebViewer/Plugin/Plugin.cpp	Wed Jan 24 16:44:40 2024 +0100
+++ b/Applications/StoneWebViewer/Plugin/Plugin.cpp	Fri Mar 22 16:11:42 2024 +0100
@@ -279,10 +279,12 @@
 
     try
     {
+      OrthancPlugins::SetDescription(PLUGIN_NAME, "Stone Web viewer");
+
       std::string explorer;
       Orthanc::EmbeddedResources::GetFileResource(
         explorer, Orthanc::EmbeddedResources::ORTHANC_EXPLORER);
-      OrthancPluginExtendOrthancExplorer(OrthancPlugins::GetGlobalContext(), explorer.c_str());
+      OrthancPlugins::ExtendOrthancExplorer(PLUGIN_NAME, explorer);
       
       OrthancPlugins::RegisterRestCallback<ServeConfiguration>
         (STONE_WEB_VIEWER_ROOT + "/configuration.json", true);