| 186 | } |
| 187 | |
| 188 | void CIniFileLoad::LoadDataDouble(CString strSection,CString strKey,double &fValue) |
| 189 | { |
| 190 | CString strValue=_T(""); |
| 191 | LoadString(strSection,strKey,strValue); |
| 192 | |
| 193 | if(strValue.IsEmpty()) |
| 194 | { |
| 195 | fValue=-1.0; |
| 196 | } |
| 197 | else |
| 198 | { |
| 199 | fValue=_ttof(strValue); |
| 200 | } |
| 201 | |
| 202 | } |
| 203 | |
| 204 | void CIniFileLoad::SetDataInt(CString strSection,CString strKey,int nValue) |
| 205 | { |
nothing calls this directly
no outgoing calls
no test coverage detected