]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/depcache.h
releasing version 0.8.16~exp4
[apt.git] / apt-pkg / depcache.h
index adc010c28d932bbf3bc54f925b1398389cf10aab..d935c18872c1cb21bf05caa256998615433d0e9f 100644 (file)
@@ -258,13 +258,21 @@ class pkgDepCache : protected pkgCache::Namespace
    class Policy
    {
       public:
-      
+      Policy() {
+         InstallRecommends = _config->FindB("APT::Install-Recommends", false);
+         InstallSuggests = _config->FindB("APT::Install-Suggests", false);
+      }
+
       virtual VerIterator GetCandidateVer(PkgIterator const &Pkg);
       virtual bool IsImportantDep(DepIterator const &Dep);
       virtual signed short GetPriority(PkgIterator const &Pkg);
       virtual signed short GetPriority(PkgFileIterator const &File);
 
       virtual ~Policy() {};
+
+      private:
+      bool InstallRecommends;
+      bool InstallSuggests;
    };
 
    private: