X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/b2e465d6d32d2dc884f58b94acb7e35f671a87fe..c1ebf56dc8f868da52baed255c0a64ccb88cedf3:/apt-pkg/pkgsystem.h diff --git a/apt-pkg/pkgsystem.h b/apt-pkg/pkgsystem.h index 7d0e42d13..c6b34fd61 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.2 2001/02/20 07:03:17 jgg Exp $ +// $Id: pkgsystem.h,v 1.4 2001/04/29 05:13:51 jgg Exp $ /* ###################################################################### System - Abstraction for running on different systems. @@ -72,7 +72,7 @@ class pkgSystem /* Load environment specific configuration and perform any other setup necessary */ - virtual bool Initialize(Configuration &Cnf) {return true;}; + virtual bool Initialize(Configuration &/*Cnf*/) {return true;}; /* Type is some kind of Globally Unique way of differentiating archive file types.. */ @@ -80,10 +80,12 @@ 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.. */ - virtual signed Score(Configuration const &Cnf) {return 0;}; + virtual signed Score(Configuration const &/*Cnf*/) {return 0;}; pkgSystem(); virtual ~pkgSystem() {};