X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/f74d99c6a78caafdc6e32d8cb135683b7154795c..2a440328ea19e9646a93f847dd9eff21e03ad16d:/apt-pkg/packagemanager.h?ds=sidebyside diff --git a/apt-pkg/packagemanager.h b/apt-pkg/packagemanager.h index 145fe40a8..5046e2dc0 100644 --- a/apt-pkg/packagemanager.h +++ b/apt-pkg/packagemanager.h @@ -99,7 +99,7 @@ class pkgPackageManager : protected pkgCache::Namespace virtual bool Configure(PkgIterator /*Pkg*/) {return false;}; virtual bool Remove(PkgIterator /*Pkg*/,bool /*Purge*/=false) {return false;}; virtual bool Go(APT::Progress::PackageManager * /*progress*/) {return true;}; - virtual bool Go(int /*statusFd*/=-1) {return true;}; + APT_DEPRECATED_MSG("Use overload with explicit progress manager") virtual bool Go(int /*statusFd*/=-1) {return true;}; virtual void Reset() {}; @@ -117,7 +117,7 @@ class pkgPackageManager : protected pkgCache::Namespace // compat APT_DEPRECATED_MSG("Use APT::Progress::PackageManager subclass instead of fd") OrderResult DoInstall(int statusFd=-1); - friend bool EIPP::OrderInstall(char const * const planer, pkgPackageManager * const PM, + friend bool EIPP::OrderInstall(char const * const planner, pkgPackageManager * const PM, unsigned int const version, OpProgress * const Progress); friend bool EIPP::ReadResponse(int const input, pkgPackageManager * const PM, OpProgress * const Progress);