diff OrthancServer/main.cpp @ 1066:bb82e5e818e9

OnStoredInstance callback in plugins
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 25 Jul 2014 18:39:02 +0200
parents 564e39d6df13
children ce6386b37afd
line wrap: on
line diff
--- a/OrthancServer/main.cpp	Fri Jul 25 16:59:33 2014 +0200
+++ b/OrthancServer/main.cpp	Fri Jul 25 18:39:02 2014 +0200
@@ -484,6 +484,7 @@
       httpServer.RegisterHandler(staticResources);
       httpServer.RegisterHandler(restApi);
       httpPlugins.SetOrthancRestApi(restApi);
+      context.SetPluginsHttpHandler(httpPlugins);
 
       // GO !!! Start the requested servers
       if (Configuration::GetGlobalBoolParameter("HttpServerEnabled", true))