comparison OrthancServer/OrthancRestApi/OrthancRestSystem.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
comparison
equal deleted inserted replaced
809:8ce2f69436ca 810:401a9633e492
50 static void GetSystemInformation(RestApi::GetCall& call) 50 static void GetSystemInformation(RestApi::GetCall& call)
51 { 51 {
52 Json::Value result = Json::objectValue; 52 Json::Value result = Json::objectValue;
53 53
54 result["Version"] = ORTHANC_VERSION; 54 result["Version"] = ORTHANC_VERSION;
55 result["Name"] = GetGlobalStringParameter("Name", ""); 55 result["Name"] = Configuration::GetGlobalStringParameter("Name", "");
56 56
57 call.GetOutput().AnswerJson(result); 57 call.GetOutput().AnswerJson(result);
58 } 58 }
59 59
60 static void GetStatistics(RestApi::GetCall& call) 60 static void GetStatistics(RestApi::GetCall& call)