comparison OrthancServer/main.cpp @ 1232:f1c01451a8ee

Introspection of plugins, Plugins can extend Orthanc Explorer with custom JavaScript
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 04 Dec 2014 17:04:40 +0100
parents 5bd4c9f85b4c
children aea9277dee75
comparison
equal deleted inserted replaced
1231:703fcd797186 1232:f1c01451a8ee
517 517
518 PluginsManager pluginsManager; 518 PluginsManager pluginsManager;
519 pluginsManager.RegisterServiceProvider(orthancPlugins); 519 pluginsManager.RegisterServiceProvider(orthancPlugins);
520 LoadPlugins(pluginsManager); 520 LoadPlugins(pluginsManager);
521 httpServer.RegisterHandler(orthancPlugins); 521 httpServer.RegisterHandler(orthancPlugins);
522 context.SetOrthancPlugins(orthancPlugins); 522 context.SetOrthancPlugins(pluginsManager, orthancPlugins);
523 #endif 523 #endif
524 524
525 httpServer.RegisterHandler(staticResources); 525 httpServer.RegisterHandler(staticResources);
526 httpServer.RegisterHandler(restApi); 526 httpServer.RegisterHandler(restApi);
527 527