diff options
author | Michael Vogt <mvo@debian.org> | 2013-10-13 15:05:04 +0200 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2013-10-13 15:05:04 +0200 |
commit | e6ad8031b774af9bdd5d460d9983450bb5a03d0d (patch) | |
tree | c337e4b089a091770b181c9575ab61eea9cb0074 /apt-pkg/deb/dpkgpm.h | |
parent | 6c5ae8ed079e01082f606614641b19b7c08893ad (diff) |
move the status-fd progress reporting out of the pkgDPkgPM class, at this point, breaks ABI/API, lets see what we can do about this
Diffstat (limited to 'apt-pkg/deb/dpkgpm.h')
-rw-r--r-- | apt-pkg/deb/dpkgpm.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/apt-pkg/deb/dpkgpm.h b/apt-pkg/deb/dpkgpm.h index 53e352d4e..1f4bbafc7 100644 --- a/apt-pkg/deb/dpkgpm.h +++ b/apt-pkg/deb/dpkgpm.h @@ -99,14 +99,15 @@ class pkgDPkgPM : public pkgPackageManager // input processing void DoStdin(int master); void DoTerminalPty(int master); - void DoDpkgStatusFd(int statusfd, int OutStatusFd); - void ProcessDpkgStatusLine(int OutStatusFd, char *line); + void DoDpkgStatusFd(int statusfd); + void ProcessDpkgStatusLine(char *line); // The Actuall installation implementation virtual bool Install(PkgIterator Pkg,std::string File); virtual bool Configure(PkgIterator Pkg); virtual bool Remove(PkgIterator Pkg,bool Purge = false); - virtual bool Go(int StatusFd=-1); + + virtual bool Go(APT::Progress::PackageManager *progress); virtual void Reset(); public: |