diff OrthancServer/ServerContext.cpp @ 810:401a9633e492

configuration into a namespace
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 07 May 2014 16:47:56 +0200
parents d466b3606aca
children a811bdf8b8eb
line wrap: on
line diff
--- a/OrthancServer/ServerContext.cpp	Wed May 07 16:39:53 2014 +0200
+++ b/OrthancServer/ServerContext.cpp	Wed May 07 16:47:56 2014 +0200
@@ -68,7 +68,7 @@
     provider_(*this),
     dicomCache_(provider_, DICOM_CACHE_SIZE)
   {
-    scu_.SetLocalApplicationEntityTitle(GetGlobalStringParameter("DicomAet", "ORTHANC"));
+    scu_.SetLocalApplicationEntityTitle(Configuration::GetGlobalStringParameter("DicomAet", "ORTHANC"));
     //scu_.SetMillisecondsBeforeClose(1);  // The connection is always released
 
     lua_.Execute(Orthanc::EmbeddedResources::LUA_TOOLBOX);