comparison OrthancServer/main.cpp @ 904:2732b5f57d9c plugins

sample to forward dicom data
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 18 Jun 2014 16:07:47 +0200
parents bb0a51561016
children e078ea944089
comparison
equal deleted inserted replaced
903:06b9a30f1e6d 904:2732b5f57d9c
372 context.SetCompressionEnabled(Configuration::GetGlobalBoolParameter("StorageCompression", false)); 372 context.SetCompressionEnabled(Configuration::GetGlobalBoolParameter("StorageCompression", false));
373 context.SetStoreMD5ForAttachments(Configuration::GetGlobalBoolParameter("StoreMD5ForAttachments", true)); 373 context.SetStoreMD5ForAttachments(Configuration::GetGlobalBoolParameter("StoreMD5ForAttachments", true));
374 374
375 LoadLuaScripts(context); 375 LoadLuaScripts(context);
376 376
377 PluginsHttpHandler httpPlugins; 377 PluginsHttpHandler httpPlugins(context);
378 378
379 PluginsManager pluginsManager; 379 PluginsManager pluginsManager;
380 pluginsManager.RegisterServiceProvider(httpPlugins); 380 pluginsManager.RegisterServiceProvider(httpPlugins);
381 LoadPlugins(pluginsManager); 381 LoadPlugins(pluginsManager);
382 382