source: trunk/gsinstaller/gsRegistry.h@ 1543

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

* empty log message *

  • Property svn:keywords set to Author Date Id Revision
File size: 1.2 KB
Line 
1#ifndef _GSREGISTRY_H_
2#define _GSREGISTRY_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 "registry.h"
15#include "configFile.h"
16#include "FilePath.h"
17#include "uninstall.h"
18#include "stringArray.h"
19
20class gsRegistry : public installAgent
21{
22private:
23 string volumeKey;
24 string collectKey;
25
26 bool logAction(string action, HKEY base, string path, string item, string value);
27public:
28 gsRegistry(installManager &manager, configureFile &configFileb);
29 virtual ~gsRegistry () {}
30 bool storeKeyString(HKEY base, string path, string item, string value);
31 bool collectionInstalled();
32 bool volumeInstalled();
33 bool ensureKeysExist();
34 bool ensureKeyExists( HKEY base, string key);
35 bool destroyKey(HKEY base, string key);
36 bool destroyItem(HKEY base, string key, string name);
37 string collectKeyId();
38 string volumeKeyId();
39 string exeKeyId(string exeName);
40 string uninstallKeyId(string collectName);
41 FilePath *collectionPath();
42 bool undoAction(string ActionName, stringArray &params);
43 // Path();
44};
45#endif
Note: See TracBrowser for help on using the repository browser.