]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/pkgsystem.h
Allow an uninstalled package to be marked for removal
[apt.git] / apt-pkg / pkgsystem.h
index 0f0a118089dd1412bcba04734b9d5832c29af177..54da6fcc1a55e737e765cc37fc61c252d5fb265a 100644 (file)
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description                                                         /*{{{*/
-// $Id: pkgsystem.h,v 1.3 2001/03/11 07:35:49 jgg Exp $
+// $Id: pkgsystem.h,v 1.5 2002/03/26 07:38:58 jgg Exp $
 /* ######################################################################
 
    System - Abstraction for running on different systems.
@@ -42,7 +42,7 @@
 #endif
 
 #include <apt-pkg/depcache.h>
-#include <vector.h>
+#include <vector>
     
 class pkgPackageManager;
 class pkgVersioningSystem;
@@ -80,6 +80,8 @@ class pkgSystem
 
    // Return a list of system index files..
    virtual bool AddStatusFiles(vector<pkgIndexFile *> &List) = 0;   
+   virtual bool FindIndex(pkgCache::PkgFileIterator File,
+                         pkgIndexFile *&Found) const = 0;
    
    /* Evauluate how 'right' we are for this system based on the filesystem
       etc.. */