source: trunk/gsinstaller/gsProfile.h@ 2013

Last change on this file since 2013 was 1539, checked in by sjboddie, 24 years ago

Got compiling on VC++ 4.2

  • Property svn:keywords set to Author Date Id Revision
File size: 913 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 undoAction(string actionName, stringArray &params);
33};
34#endif
Note: See TracBrowser for help on using the repository browser.