diff options
Diffstat (limited to 'apt-pkg/deb/debsystem.h')
-rw-r--r-- | apt-pkg/deb/debsystem.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apt-pkg/deb/debsystem.h b/apt-pkg/deb/debsystem.h index a331af351..2e5a8550c 100644 --- a/apt-pkg/deb/debsystem.h +++ b/apt-pkg/deb/debsystem.h @@ -27,8 +27,7 @@ class debSystem : public pkgSystem APT_HIDDEN bool CheckUpdates(); public: - - virtual bool Lock() APT_OVERRIDE; + virtual bool Lock(OpProgress *const Progress) APT_OVERRIDE; virtual bool UnLock(bool NoErrors = false) APT_OVERRIDE; virtual pkgPackageManager *CreatePM(pkgDepCache *Cache) const APT_OVERRIDE; virtual bool Initialize(Configuration &Cnf) APT_OVERRIDE; @@ -48,7 +47,7 @@ class debSystem : public pkgSystem bool MultiArchSupported() const override; std::vector<std::string> ArchitecturesSupported() const override; - bool LockInner() override; + bool LockInner(OpProgress *const Progress, int timeoutSec) override; bool UnLockInner(bool NoErrors=false) override; bool IsLocked() override; }; |