source: other-projects/gs2-export-cdrom-installer/trunk/gsProgman.h@ 33170

Last change on this file since 33170 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: 868 bytes
Line 
1#ifndef _GSPROGMAN_H_
2#define _GSPROGMAN_H_
3#include <windows.h>
4
5#include "gsPlatform.h"
6#include "uninstall.h"
7#include "stringArray.h"
8
9class gsProgramManager : public installAgent
10{
11private:
12 gsPlatform *platform;
13 DWORD instance;
14 bool connected;
15
16 void logAction(string actionName, string group);
17 void logAction(string actionName, string group, string item, string parameter);
18protected:
19public:
20 // constructor
21 gsProgramManager(installManager &manager);
22
23 // connect/disconnect activity
24 bool connect();
25 bool disconnect();
26
27 bool addProgramGroup(string name);
28 bool removeProgramGroup(string name);
29 bool addIcon(string groupName, string iconName, string iconDestination,
30 string arguments, string description);
31 bool removeIcon(string groupName, string iconName);
32
33 bool undoAction(string actionName, stringArray &params);
34};
35#endif
Note: See TracBrowser for help on using the repository browser.