diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2006-08-10 00:08:39 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2006-08-10 00:08:39 +0200 |
commit | be615841e27068522c467899c96c541b74e4c349 (patch) | |
tree | 3ff2b44d5707bccb8d23a3248e7020947a389f79 /apt-pkg/depcache.h | |
parent | c8d80b1d346c9c24f897813d5793e69bb59e465b (diff) | |
parent | 1b1c2224f5777956f345471b600ed56203c2d400 (diff) |
* merged the apt--install-recommends branch
Diffstat (limited to 'apt-pkg/depcache.h')
-rw-r--r-- | apt-pkg/depcache.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/depcache.h b/apt-pkg/depcache.h index fd935c268..d16b56bbc 100644 --- a/apt-pkg/depcache.h +++ b/apt-pkg/depcache.h @@ -249,6 +249,7 @@ class pkgDepCache : protected pkgCache::Namespace inline bool Held() const {return Status != 0 && Keep();}; inline bool NowBroken() const {return (DepState & DepNowMin) != DepNowMin;}; inline bool InstBroken() const {return (DepState & DepInstMin) != DepInstMin;}; + inline bool InstPolicyBroken() const {return (DepState & DepInstPolicy) != DepInstPolicy;}; inline bool Install() const {return Mode == ModeInstall;}; inline VerIterator InstVerIter(pkgCache &Cache) {return VerIterator(Cache,InstallVer);}; |