Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
1065:921532f67770 | 1066:bb82e5e818e9 |
---|---|
482 | 482 |
483 httpServer.RegisterHandler(httpPlugins); | 483 httpServer.RegisterHandler(httpPlugins); |
484 httpServer.RegisterHandler(staticResources); | 484 httpServer.RegisterHandler(staticResources); |
485 httpServer.RegisterHandler(restApi); | 485 httpServer.RegisterHandler(restApi); |
486 httpPlugins.SetOrthancRestApi(restApi); | 486 httpPlugins.SetOrthancRestApi(restApi); |
487 context.SetPluginsHttpHandler(httpPlugins); | |
487 | 488 |
488 // GO !!! Start the requested servers | 489 // GO !!! Start the requested servers |
489 if (Configuration::GetGlobalBoolParameter("HttpServerEnabled", true)) | 490 if (Configuration::GetGlobalBoolParameter("HttpServerEnabled", true)) |
490 { | 491 { |
491 httpServer.Start(); | 492 httpServer.Start(); |