Index: src/ch/CfgProperties.h =================================================================== diff -u -N -r3fc1109991e7311d6b1e34ef0b730f9b4e1fd42a -rb684bec49aaaea4b89ab2e599497f4085d8698a3 --- src/ch/CfgProperties.h (.../CfgProperties.h) (revision 3fc1109991e7311d6b1e34ef0b730f9b4e1fd42a) +++ src/ch/CfgProperties.h (.../CfgProperties.h) (revision b684bec49aaaea4b89ab2e599497f4085d8698a3) @@ -23,7 +23,7 @@ #include "TTaskConfiguration.h" -class TConfig; +namespace chcore { class TConfig; } // properties definitions enum ECHProperties @@ -250,24 +250,24 @@ // Properties retrieval template -typename PropData::value_type GetPropValue(const TConfig& rConfig) +typename PropData::value_type GetPropValue(const chcore::TConfig& rConfig) { typename PropData::value_type tValue; - if(!rConfig.GetValue(CString(PropData::GetPropertyNamePrefix()) + PropData::GetPropertyName(), tValue)) + if(!GetConfigValue(rConfig, CString(PropData::GetPropertyNamePrefix()) + PropData::GetPropertyName(), tValue)) tValue = PropData::GetDefaultValue(); return tValue; } template -bool GetPropValue(const TConfig& rConfig, typename PropData::value_type& rValue) +bool GetPropValue(const chcore::TConfig& rConfig, typename PropData::value_type& rValue) { - return rConfig.GetValue(CString(PropData::GetPropertyNamePrefix()) + PropData::GetPropertyName(), rValue); + return GetConfigValue(rConfig, CString(PropData::GetPropertyNamePrefix()) + PropData::GetPropertyName(), rValue); } template -void SetPropValue(TConfig& rConfig, const typename PropData::value_type& rValue) +void SetPropValue(chcore::TConfig& rConfig, const typename PropData::value_type& rValue) { - rConfig.SetValue(CString(PropData::GetPropertyNamePrefix()) + PropData::GetPropertyName(), rValue); + SetConfigValue(rConfig, CString(PropData::GetPropertyNamePrefix()) + PropData::GetPropertyName(), rValue); } #endif