Changeset 36c340d in nscp for Settings.h
- Timestamp:
- 02/25/05 21:47:45 (8 years ago)
- Branches:
- master, 0.4.0, 0.4.1, 0.4.2, stable
- Children:
- 8223547
- Parents:
- a1e1922
- File:
-
- 1 edited
-
Settings.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
Settings.h
ra0528c4 r36c340d 58 58 * @return The value or defaultValue if the key is not found 59 59 */ 60 std::string getString(std::string section, std::string key, std::string defaultValue = "") {60 std::string getString(std::string section, std::string key, std::string defaultValue = "") const { 61 61 char* buffer = new char[1024]; 62 62 GetPrivateProfileString(section.c_str(), key.c_str(), defaultValue.c_str(), buffer, 1023, file_.c_str());
Note: See TracChangeset
for help on using the changeset viewer.








