Changeset 1475 for trunk/gsinstaller/unInstall.h
- Timestamp:
- 2000-08-31T00:42:59+12:00 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsinstaller/unInstall.h
r1397 r1475 5 5 #include <map> 6 6 using namespace std; 7 8 #include <stdio.h> 9 #include <fstream.h> 7 10 8 11 #include "stringArray.h" … … 18 21 19 22 typedef map<string, unInstallCommandList, less<string> > unInstallCommandMap; 23 24 class installManager 25 { private: 26 fstream logfile; 27 string currentModule; 28 public: 29 installManager() { }; 30 bool openLog(string filename, bool write); 31 void setModule(string moduleName); 32 bool writeString(string str); 33 bool writeString(char *string); 34 bool writeSeparator(); 35 string readString(); 36 string readCommand(stringArray ¶ms); 37 ~installManager(); 38 }; 39 40 class installAgent 41 { protected: 42 installManager *manager; 43 public: 44 installAgent(installManager &useManager) { this->manager = &useManager; }; 45 virtual bool undoAction(string actionName, stringArray ¶ms) { return false; }; 46 // bool undo(string actionName); 47 }; 20 48 21 49 class unInstaller
Note:
See TracChangeset
for help on using the changeset viewer.