Ignore:
Timestamp:
2000-08-31T00:42:59+12:00 (24 years ago)
Author:
cs025
Message:

Updated sources with most of uninstall added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsinstaller/gsManifest.h

    r1397 r1475  
    66#include "File.h"
    77#include "FilePath.h"
     8#include "FileCopier.h"
    89#include "stringArray.h"
     10#include "uninstall.h"
    911
    1012typedef map<FilePath, stringArray, less<FilePath> > pathStringArrayMap;
    1113
    12 class gsManifest
     14class gsManifest : public installAgent, fileCopyMonitor
    1315{   private:
    1416    protected:
    1517        strArrayMap                 manifests;
    1618    pathStringArrayMap  selected;
     19
     20    bool getManifestLine(char *line, string &macro);
    1721  public:
    18     gsManifest(FilePath &path);
     22    gsManifest(installManager &manager, FilePath &path); // used for install
     23    gsManifest(installManager &manager); // used for uninstall
    1924    bool getManifest(FilePath &path);
    20     bool getManifestLine(char *line, string &macro);
     25    void logAction(string actionName, string file);
     26    void logAction(string actionName, string source, string dest);
     27    bool undoAction(string actionName, stringArray &params);
    2128    void expandGroupInstance(string parent, string child);
    2229    void expandGroup(string &group);
     
    2633    void clearSelection();
    2734    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);
    3138    bool selectCheckSpace();
     39
     40    void copied(string from, string to, bool isDir); // from fileCopyMonitor
    3241};
    3342#endif;
Note: See TracChangeset for help on using the changeset viewer.