summaryrefslogtreecommitdiff
path: root/apt-pkg/depcache.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2006-08-10 00:08:39 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2006-08-10 00:08:39 +0200
commitbe615841e27068522c467899c96c541b74e4c349 (patch)
tree3ff2b44d5707bccb8d23a3248e7020947a389f79 /apt-pkg/depcache.h
parentc8d80b1d346c9c24f897813d5793e69bb59e465b (diff)
parent1b1c2224f5777956f345471b600ed56203c2d400 (diff)
* merged the apt--install-recommends branch
Diffstat (limited to 'apt-pkg/depcache.h')
-rw-r--r--apt-pkg/depcache.h1
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);};