]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/algorithms.h
restore ABI of pkgTagSection
[apt.git] / apt-pkg / algorithms.h
index b6da1f2bf8f3f48e19821f3233c5cf6e5f4a89c8..2ac28c0d753a4b8896996a2f27bf8c4b3776c2bc 100644 (file)
@@ -138,10 +138,20 @@ class pkgProblemResolver                                          /*{{{*/
    inline void Clear(pkgCache::PkgIterator Pkg) {Flags[Pkg->ID] &= ~(Protected | ToRemove);};
 
    // Try to intelligently resolve problems by installing and removing packages
+#if APT_PKG_ABI >= 413
    bool Resolve(bool BrokenFix = false, OpProgress * const Progress = NULL);
+#else
+   bool Resolve(bool BrokenFix = false);
+   bool Resolve(bool BrokenFix, OpProgress * const Progress);
+#endif
 
    // Try to resolve problems only by using keep
+#if APT_PKG_ABI >= 413
    bool ResolveByKeep(OpProgress * const Progress = NULL);
+#else
+   bool ResolveByKeep();
+   bool ResolveByKeep(OpProgress * const Progress);
+#endif
 
    APT_DEPRECATED void InstallProtect();