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/unInstall.h

    r1397 r1475  
    55#include <map>
    66using namespace std;
     7
     8#include <stdio.h>
     9#include <fstream.h>
    710
    811#include "stringArray.h"
     
    1821
    1922typedef map<string, unInstallCommandList, less<string> > unInstallCommandMap;
     23
     24class 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 &params);
     37    ~installManager();
     38};
     39
     40class installAgent
     41{   protected:
     42    installManager *manager;
     43    public:
     44    installAgent(installManager &useManager) { this->manager = &useManager; };
     45    virtual bool undoAction(string actionName, stringArray &params) { return false; };
     46//    bool undo(string actionName);
     47};
    2048
    2149class unInstaller
Note: See TracChangeset for help on using the changeset viewer.