~jr/ubuntu/oneiric/apt/bzr-get-rename

« back to all changes in this revision

Viewing changes to apt-pkg/srcrecords.h

  • Committer: Bazaar Package Importer
  • Author(s): Matt Zimmerman
  • Date: 2005-03-07 20:08:33 UTC
  • Revision ID: james.westby@ubuntu.com-20050307200833-0lxdgg2cb4oculdv
Tags: 0.6.35
* Merge apt--mvo--0 (incorporates 0.6.34ubuntu1):
  - Implement MaxSize and MaxAge in apt.cron.daily, to prevent the cache
    from growing too large (Ubuntu #6761)
  - some comments about the pkgAcqMetaSig::Custom600Headers() added
  - use gpg --with-colons
  - commented the ftp no_proxy unseting in methods/ftp.cc
  - added support for "Acquire::gpgv::options" in methods/gpgv.cc
* Merge bubulle@debian.org--2005/apt--main--0
  - Make capitalization more consistent
  - Un-fuzzy translations resulting from capitalization changes
  - Italian translation update

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// -*- mode: cpp; mode: fold -*-
2
2
// Description                                                          /*{{{*/
3
 
// $Id: srcrecords.h,v 1.7 2001/05/07 04:24:08 jgg Exp $
 
3
// $Id: srcrecords.h,v 1.8.2.1 2003/12/26 16:27:34 mdz Exp $
4
4
/* ######################################################################
5
5
   
6
6
   Source Package Records - Allows access to source package records
72
72
      virtual string Section() const = 0;
73
73
      virtual const char **Binaries() = 0;   // Ownership does not transfer
74
74
 
75
 
      virtual bool BuildDepends(vector<BuildDepRec> &BuildDeps) = 0;
 
75
      virtual bool BuildDepends(vector<BuildDepRec> &BuildDeps, bool ArchOnly) = 0;
76
76
      static const char *BuildDepType(unsigned char Type);
77
77
 
78
78
      virtual bool Files(vector<pkgSrcRecords::File> &F) = 0;
84
84
   private:
85
85
   
86
86
   // The list of files and the current parser pointer
87
 
   Parser **Files;
88
 
   Parser **Current;
 
87
   vector<Parser*> Files;
 
88
   vector<Parser *>::iterator Current;
89
89
   
90
90
   public:
91
91