summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/dpkgpm.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2007-06-05 16:14:08 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2007-06-05 16:14:08 +0200
commit5e457a9336967e4851e094a84f9f94f4141ee393 (patch)
tree6760569baa6fbd3a5e5fde5dc8475664f3509203 /apt-pkg/deb/dpkgpm.h
parent66c8f0766ef9f2d660251ece524fcb82d5ea3813 (diff)
* apt-pkg/deb/dpkgpm.cc:
- apport integration added, this means that a apport report is written on dpkg failures
Diffstat (limited to 'apt-pkg/deb/dpkgpm.h')
-rw-r--r--apt-pkg/deb/dpkgpm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/apt-pkg/deb/dpkgpm.h b/apt-pkg/deb/dpkgpm.h
index 0b181dc43..1a1fdc191 100644
--- a/apt-pkg/deb/dpkgpm.h
+++ b/apt-pkg/deb/dpkgpm.h
@@ -23,6 +23,7 @@ using std::vector;
class pkgDPkgPM : public pkgPackageManager
{
protected:
+ int pkgFailures;
// used for progress reporting
struct DpkgState
@@ -48,6 +49,9 @@ class pkgDPkgPM : public pkgPackageManager
bool RunScriptsWithPkgs(const char *Cnf);
bool SendV2Pkgs(FILE *F);
+ // apport integration
+ void WriteApportReport(const char *pkgpath, const char *errormsg);
+
// The Actuall installation implementation
virtual bool Install(PkgIterator Pkg,string File);
virtual bool Configure(PkgIterator Pkg);