]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/packagemanager.h
Fixed problem with not being able to open files
[apt.git] / apt-pkg / packagemanager.h
index 7fd01cb39f61f515c58c87ab75af06a0b4d5c12b..c6ab82de6dcdf983610b7690351e1356b526d2f2 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: packagemanager.h,v 1.4 1998/07/19 21:24:13 jgg Exp $
+// $Id: packagemanager.h,v 1.5 1998/11/13 04:23:31 jgg Exp $
 /* ######################################################################
 
    Package Manager - Abstacts the package manager
 #include <string>
 #include <apt-pkg/pkgcache.h>
 
-class pkgAquire;
+class pkgAcquire;
 class pkgDepCache;
 class pkgSourceList;
 class pkgOrderList;
+class pkgRecords;
 class pkgPackageManager
 {
    protected:
@@ -68,11 +69,13 @@ class pkgPackageManager
    virtual bool Install(PkgIterator /*Pkg*/,string /*File*/) {return false;};
    virtual bool Configure(PkgIterator /*Pkg*/) {return false;};
    virtual bool Remove(PkgIterator /*Pkg*/) {return false;};
-   virtual bool Go() {return false;};
+   virtual bool Go() {return true;};
    
    public:
 
    // Main action members
+   bool GetArchives(pkgAcquire *Owner,pkgSourceList *Sources,
+                   pkgRecords *Recs);
    bool DoInstall();
    bool FixMissing();