- virtual string Package() = 0;
- virtual string Version() = 0;
- virtual string Maintainer() = 0;
- virtual string Section() = 0;
- virtual const char **Binaries() = 0;
- virtual bool Files(vector<File> &F) = 0;
+ virtual string Package() const = 0;
+ virtual string Version() const = 0;
+ virtual string Maintainer() const = 0;
+ virtual string Section() const = 0;
+ virtual const char **Binaries() = 0; // Ownership does not transfer
+
+ virtual bool BuildDepends(vector<BuildDepRec> &BuildDeps, bool ArchOnly) = 0;
+ static const char *BuildDepType(unsigned char Type);
+
+ virtual bool Files(vector<pkgSrcRecords::File> &F) = 0;