X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/b2e465d6d32d2dc884f58b94acb7e35f671a87fe..aac2e51078714d5130861035e9b3b5d4d6b84471:/apt-pkg/srcrecords.h diff --git a/apt-pkg/srcrecords.h b/apt-pkg/srcrecords.h index a73499aef..3e2112549 100644 --- a/apt-pkg/srcrecords.h +++ b/apt-pkg/srcrecords.h @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: srcrecords.h,v 1.6 2001/02/20 07:03:17 jgg Exp $ +// $Id: srcrecords.h,v 1.8.2.1 2003/12/26 16:27:34 mdz Exp $ /* ###################################################################### Source Package Records - Allows access to source package records @@ -20,6 +20,9 @@ #include #include +using std::string; +using std::vector; + class pkgSourceList; class pkgIndexFile; class pkgSrcRecords @@ -69,7 +72,7 @@ class pkgSrcRecords virtual string Section() const = 0; virtual const char **Binaries() = 0; // Ownership does not transfer - virtual bool BuildDepends(vector &BuildDeps) = 0; + virtual bool BuildDepends(vector &BuildDeps, bool ArchOnly) = 0; static const char *BuildDepType(unsigned char Type); virtual bool Files(vector &F) = 0; @@ -81,8 +84,8 @@ class pkgSrcRecords private: // The list of files and the current parser pointer - Parser **Files; - Parser **Current; + vector Files; + vector::iterator Current; public: