Changeset 36c340d in nscp for Settings.h


Ignore:
Timestamp:
02/25/05 21:47:45 (8 years ago)
Author:
Michael Medin <michael@…>
Branches:
master, 0.4.0, 0.4.1, 0.4.2, stable
Children:
8223547
Parents:
a1e1922
Message:

Multiple fixes in various places.

  • Added threadding blocks "core"
  • Added new Module (CheckDisk)
  • Added new option [log] / debug=1 to enable debug logs.
  • Added more error messages
  • other minor tweaks and fixes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Settings.h

    ra0528c4 r36c340d  
    5858   * @return The value or defaultValue if the key is not found 
    5959   */ 
    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 { 
    6161    char* buffer = new char[1024]; 
    6262    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.