Changeset 1539 for trunk/gsinstaller/gsProfile.h
- Timestamp:
- 2000-09-12T13:36:44+12:00 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsinstaller/gsProfile.h
r1475 r1539 2 2 #define _GSPROFILE_H_ 3 3 #include <string> 4 5 // use the standard namespace 6 #if !defined (GSDL_NAMESPACE_BROKEN) 7 #if defined(GSDL_USE_OBJECTSPACE) 8 using namespace ospace::std; 9 #else 4 10 using namespace std; 11 #endif 12 #endif 13 5 14 #include <windows.h> 6 15 … … 10 19 class gsProfile : public installAgent 11 20 { 12 13 21 private: 22 string fileName; 14 23 15 16 17 18 19 20 21 22 23 24 void logAction(string action, string sectionName, string item, string value); 25 protected: 26 public: 27 gsProfile(installManager &manager, string fileName); 28 bool ensureListMember(string sectionName, string listName, string listMember); 29 bool removeListMember(string sectionName, string listName, string listMember); 30 bool addListMember(string sectionName, string listName, string listMember); 31 bool writeString(string sectionName, string itemName, string itemValue); 32 bool undoAction(string actionName, stringArray ¶ms); 24 33 }; 25 34 #endif
Note:
See TracChangeset
for help on using the changeset viewer.