diff options
Diffstat (limited to 'python/progress.h')
| -rw-r--r-- | python/progress.h | 10 |
1 files changed, 10 insertions, 0 deletions
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 <apt-pkg/progress.h> #include <apt-pkg/acquire.h> +#include <apt-pkg/packagemanager.h> #include <Python.h> 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 |
