X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/b2e465d6d32d2dc884f58b94acb7e35f671a87fe..aac2e51078714d5130861035e9b3b5d4d6b84471:/apt-pkg/deb/debsystem.h diff --git a/apt-pkg/deb/debsystem.h b/apt-pkg/deb/debsystem.h index 4fd267f77..84e57e74a 100644 --- a/apt-pkg/deb/debsystem.h +++ b/apt-pkg/deb/debsystem.h @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: debsystem.h,v 1.2 2001/02/20 07:03:17 jgg Exp $ +// $Id: debsystem.h,v 1.4 2003/01/11 07:16:33 jgg Exp $ /* ###################################################################### System - Debian version of the System Class @@ -15,7 +15,8 @@ #endif #include - + +class debStatusIndex; class debSystem : public pkgSystem { // For locking support @@ -23,6 +24,8 @@ class debSystem : public pkgSystem unsigned LockCount; bool CheckUpdates(); + debStatusIndex *StatusFile; + public: virtual bool Lock(); @@ -31,9 +34,12 @@ class debSystem : public pkgSystem virtual bool Initialize(Configuration &Cnf); virtual bool ArchiveSupported(const char *Type); virtual signed Score(Configuration const &Cnf); - virtual bool AddStatusFiles(vector &List); + virtual bool AddStatusFiles(std::vector &List); + virtual bool FindIndex(pkgCache::PkgFileIterator File, + pkgIndexFile *&Found) const; debSystem(); + ~debSystem(); }; extern debSystem debSys;