]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/algorithms.h
* apt-pkg/indexfile.cc:
[apt.git] / apt-pkg / algorithms.h
index 0b38e4244fd24d62e86e83a9cb3f81ba654245e3..b95218061903e4ea84d2b08445a41eee3878eaaf 100644 (file)
@@ -67,8 +67,10 @@ class pkgSimulate : public pkgPackageManager
    virtual bool Install(PkgIterator Pkg,string File);
    virtual bool Configure(PkgIterator Pkg);
    virtual bool Remove(PkgIterator Pkg,bool Purge);
+
+private:
    void ShortBreaks();
-   void Describe(PkgIterator iPkg,ostream &out,bool Now);
+   void Describe(PkgIterator iPkg,ostream &out,bool Current,bool Candidate);
    
    public:
 
@@ -116,7 +118,8 @@ class pkgProblemResolver
    
    // Try to resolve problems only by using keep
    bool ResolveByKeep();
-   
+
+   // Install all protected packages   
    void InstallProtect();   
    
    pkgProblemResolver(pkgDepCache *Cache);