diff options
author | Michael Vogt <mvo@debian.org> | 2013-10-13 15:10:53 +0200 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2013-10-13 15:10:53 +0200 |
commit | ca5b257835578d98145becbc3d97505394a7726c (patch) | |
tree | e93be5c538e0fb6821e17d132fe4d8ea31a1d617 /apt-pkg/iprogress.h | |
parent | e6ad8031b774af9bdd5d460d9983450bb5a03d0d (diff) |
add APT::Progress::PackageManager::Pulse()
Diffstat (limited to 'apt-pkg/iprogress.h')
-rw-r--r-- | apt-pkg/iprogress.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apt-pkg/iprogress.h b/apt-pkg/iprogress.h index 6519e9445..04520ffe8 100644 --- a/apt-pkg/iprogress.h +++ b/apt-pkg/iprogress.h @@ -28,7 +28,12 @@ namespace Progress { virtual void Finished() {}; virtual pid_t fork() {return fork(); }; - + + virtual void Pulse() {}; + virtual long GetPulseInterval() { + return 500000; + }; + virtual bool StatusChanged(std::string PackageName, unsigned int StepsDone, unsigned int TotalSteps, |