X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/db5c1b541994e1b6d9b64a44206002b726c42dbe..2a49601f69e08f06fb2727d869d420daacdd09d5:/apt-pkg/pkgsystem.h?ds=sidebyside diff --git a/apt-pkg/pkgsystem.h b/apt-pkg/pkgsystem.h index 0f0a11808..75f7b9fcc 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.6 2002/11/11 06:55:50 doogie Exp $ /* ###################################################################### System - Abstraction for running on different systems. @@ -37,17 +37,20 @@ #ifndef PKGLIB_PKGSYSTEM_H #define PKGLIB_PKGSYSTEM_H -#ifdef __GNUG__ -#pragma interface "apt-pkg/pkgsystem.h" -#endif +#include + +#include +#ifndef APT_8_CLEANER_HEADERS #include -#include - +#endif + +class pkgDepCache; class pkgPackageManager; class pkgVersioningSystem; class Configuration; class pkgIndexFile; +class PkgFileIterator; class pkgSystem { @@ -79,7 +82,9 @@ class pkgSystem virtual bool ArchiveSupported(const char *Type) = 0; // Return a list of system index files.. - virtual bool AddStatusFiles(vector &List) = 0; + virtual bool AddStatusFiles(std::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.. */