- virtual string Package() = 0;
- virtual string Version() = 0;
- virtual string Maintainer() = 0;
- virtual string Section() = 0;
- virtual const char **Binaries() = 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 const &ArchOnly, bool const &StripMultiArch = true) = 0;
+ static const char *BuildDepType(unsigned char const &Type);
+