source: other-projects/gs2-export-cdrom-installer/trunk/gsProfile.h@ 22919

Last change on this file since 22919 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
Line 
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)
8using namespace ospace::std;
9#else
10using namespace std;
11#endif
12#endif
13
14#include <windows.h>
15
16#include "uninstall.h"
17#include "stringarray.h"
18
19class gsProfile : public installAgent
20{
21private:
22 string fileName;
23
24 void logAction(string action, string sectionName, string item, string value);
25protected:
26public:
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 &params);
34};
35#endif
Note: See TracBrowser for help on using the repository browser.