From 08ea34d6a28b4b17d0146535e85d61ab7bda341d Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Fri, 8 Apr 2005 11:55:14 +0000 Subject: * simple InstallProgress interface added --- python/progress.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'python/progress.h') diff --git a/python/progress.h b/python/progress.h index a39ae41a..2514623a 100644 --- a/python/progress.h +++ b/python/progress.h @@ -11,6 +11,7 @@ #include #include +#include #include class PyCallbackObj { @@ -58,6 +59,15 @@ struct PyFetchProgress : public pkgAcquireStatus, public PyCallbackObj }; +struct PyInstallProgress : public PyCallbackObj +{ + void StartUpdate(); + void UpdateInterface(); + void FinishUpdate(); + + pkgPackageManager::OrderResult Run(pkgPackageManager *pm); + PyInstallProgress() : PyCallbackObj() {}; +}; #endif -- cgit v1.2.3