Last change
on this file since 14090 was 11664, checked in by mdewsnip, 18 years ago |
Fixed the line endings... for real this time, I hope.
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
971 bytes
|
Rev | Line | |
---|
[11664] | 1 | #ifndef _GSPROFILE_H_
|
---|
| 2 | #define _GSPROFILE_H_
|
---|
| 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
|
---|
| 10 | using namespace std;
|
---|
| 11 | #endif
|
---|
| 12 | #endif
|
---|
| 13 |
|
---|
| 14 | #include <windows.h>
|
---|
| 15 |
|
---|
| 16 | #include "uninstall.h"
|
---|
| 17 | #include "stringarray.h"
|
---|
| 18 |
|
---|
| 19 | class gsProfile : public installAgent
|
---|
| 20 | {
|
---|
| 21 | private:
|
---|
| 22 | string fileName;
|
---|
| 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 removeString(string sectionName, string itemName);
|
---|
| 33 | bool undoAction(string actionName, stringArray ¶ms);
|
---|
| 34 | };
|
---|
| 35 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.