Changeset 1475 for trunk/gsinstaller/gsManifest.h
- Timestamp:
- 2000-08-31T00:42:59+12:00 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsinstaller/gsManifest.h
r1397 r1475 6 6 #include "File.h" 7 7 #include "FilePath.h" 8 #include "FileCopier.h" 8 9 #include "stringArray.h" 10 #include "uninstall.h" 9 11 10 12 typedef map<FilePath, stringArray, less<FilePath> > pathStringArrayMap; 11 13 12 class gsManifest 14 class gsManifest : public installAgent, fileCopyMonitor 13 15 { private: 14 16 protected: 15 17 strArrayMap manifests; 16 18 pathStringArrayMap selected; 19 20 bool getManifestLine(char *line, string ¯o); 17 21 public: 18 gsManifest(FilePath &path); 22 gsManifest(installManager &manager, FilePath &path); // used for install 23 gsManifest(installManager &manager); // used for uninstall 19 24 bool getManifest(FilePath &path); 20 bool getManifestLine(char *line, string ¯o); 25 void logAction(string actionName, string file); 26 void logAction(string actionName, string source, string dest); 27 bool undoAction(string actionName, stringArray ¶ms); 21 28 void expandGroupInstance(string parent, string child); 22 29 void expandGroup(string &group); … … 26 33 void clearSelection(); 27 34 bool copy(FilePath *source); 28 void selectGroup(string &groupName, FilePath &destination);29 FileVector *selection( stringArray &array);30 FileVector *selection(FilePath & destination);35 void selectGroup(string groupName, FilePath &destination); 36 FileVector *selection(FilePath &source, stringArray &array); 37 FileVector *selection(FilePath &source, FilePath &destination); 31 38 bool selectCheckSpace(); 39 40 void copied(string from, string to, bool isDir); // from fileCopyMonitor 32 41 }; 33 42 #endif;
Note:
See TracChangeset
for help on using the changeset viewer.