X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/db5c1b541994e1b6d9b64a44206002b726c42dbe..49dfb346d466a2368a91d2730c86f915fcddc87c:/apt-pkg/pkgsystem.h diff --git a/apt-pkg/pkgsystem.h b/apt-pkg/pkgsystem.h index 0f0a11808..54da6fcc1 100644 --- a/apt-pkg/pkgsystem.h +++ b/apt-pkg/pkgsystem.h @@ -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 -#include +#include class pkgPackageManager; class pkgVersioningSystem; @@ -80,6 +80,8 @@ class pkgSystem // Return a list of system index files.. virtual bool AddStatusFiles(vector &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.. */