]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/dpkgpm.h
merged from the mvo branch
[apt.git] / apt-pkg / deb / dpkgpm.h
index 4494691266009531fec97eb36538ff24325fa7ca..1675e9e7406928a80c6c0b8003d98cbe06c746d4 100644 (file)
@@ -31,6 +31,7 @@ class pkgDPkgPM : public pkgPackageManager
    FILE *term_out;
    
    protected:
    FILE *term_out;
    
    protected:
+   int pkgFailures;
 
    // progress reporting
    struct DpkgState 
 
    // progress reporting
    struct DpkgState 
@@ -47,8 +48,7 @@ class pkgDPkgPM : public pkgPackageManager
    // the int is the state that is already done (e.g. a package that is
    // going to be install is already in state "half-installed")
    map<string,unsigned int> PackageOpsDone;
    // the int is the state that is already done (e.g. a package that is
    // going to be install is already in state "half-installed")
    map<string,unsigned int> PackageOpsDone;
-   // map the dpkg "processing" info to human readable names
-   map<string,string> PackageProcessingOps;
+
    // progress reporting
    unsigned int PackagesDone;
    unsigned int PackagesTotal;
    // progress reporting
    unsigned int PackagesDone;
    unsigned int PackagesTotal;
@@ -69,6 +69,9 @@ class pkgDPkgPM : public pkgPackageManager
    bool RunScriptsWithPkgs(const char *Cnf);
    bool SendV2Pkgs(FILE *F);
 
    bool RunScriptsWithPkgs(const char *Cnf);
    bool SendV2Pkgs(FILE *F);
 
+   // apport integration
+   void WriteApportReport(const char *pkgpath, const char *errormsg);
+
    // dpkg log
    bool OpenLog();
    bool CloseLog();
    // dpkg log
    bool OpenLog();
    bool CloseLog();