]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/algorithms.h
[ABI break] merged patch from Jonathan Thomas to have a new
[apt.git] / apt-pkg / algorithms.h
index 582cbc527b1c9b4e7d252fae526318319118a0bb..86d5fbd5309d28439680524258fb0167b52aaf56 100644 (file)
@@ -78,6 +78,9 @@ private:
                                                                        /*}}}*/
 class pkgProblemResolver                                               /*{{{*/
 {
+   /** \brief dpointer placeholder (for later in case we need it) */
+   void *d;
+
    pkgDepCache &Cache;
    typedef pkgCache::PkgIterator PkgIterator;
    typedef pkgCache::VerIterator VerIterator;
@@ -109,6 +112,9 @@ class pkgProblemResolver                                            /*{{{*/
    bool ResolveInternal(bool const BrokenFix = false);
    bool ResolveByKeepInternal();
    
+   protected:
+   bool InstOrNewPolicyBroken(pkgCache::PkgIterator Pkg);
+
    public:
    
    inline void Protect(pkgCache::PkgIterator Pkg) {Flags[Pkg->ID] |= Protected; Cache.MarkProtected(Pkg);};