comparison PalantirServer/PalantirInitialization.cpp @ 23:62bd05fe4b7c

support for ssl
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 28 Aug 2012 10:18:34 +0200
parents e85455ff6039
children dd1489098265
comparison
equal deleted inserted replaced
22:1bc6327d1de3 23:62bd05fe4b7c
121 { 121 {
122 return defaultValue; 122 return defaultValue;
123 } 123 }
124 } 124 }
125 125
126 bool GetGlobalBoolParameter(const std::string& parameter,
127 bool defaultValue)
128 {
129 boost::mutex::scoped_lock lock(globalMutex_);
130
131 if (configuration_->isMember(parameter))
132 {
133 return (*configuration_) [parameter].asBool();
134 }
135 else
136 {
137 return defaultValue;
138 }
139 }
140
141
126 142
127 143
128 void GetDicomModality(const std::string& name, 144 void GetDicomModality(const std::string& name,
129 std::string& aet, 145 std::string& aet,
130 std::string& address, 146 std::string& address,