diff options
author | Michael Vogt <mvo@debian.org> | 2013-10-14 07:40:56 +0200 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2013-10-14 07:40:56 +0200 |
commit | f9935b1c33203b9e47ca0ff5cb441c7963b19fbc (patch) | |
tree | 75ac19e193f571f41d0024651689b58190a31172 /apt-pkg/iprogress.h | |
parent | ca5b257835578d98145becbc3d97505394a7726c (diff) |
refactor writing to WriteToStatusFd()
Diffstat (limited to 'apt-pkg/iprogress.h')
-rw-r--r-- | apt-pkg/iprogress.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apt-pkg/iprogress.h b/apt-pkg/iprogress.h index 04520ffe8..5584b3940 100644 --- a/apt-pkg/iprogress.h +++ b/apt-pkg/iprogress.h @@ -54,9 +54,12 @@ namespace Progress { int OutStatusFd; int StepsDone; int StepsTotal; + void WriteToStatusFd(std::string msg); public: PackageManagerProgressFd(int progress_fd); + + // FIXME: rename to Start/Stop to match the pkgAcquireStatus virtual void Started(); virtual void Finished(); |