diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2011-07-28 11:58:55 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2011-07-28 11:58:55 +0200 |
commit | 75bda61948950a88fdd41a5362920cc46c9669e2 (patch) | |
tree | 8e8d278d44be6d31d0ab4cd086ccedd08bf9aa15 /apt-pkg/pkgrecords.h | |
parent | 14b4780d0da30493b949bf65587f4e8a71db561d (diff) |
[ABI break] merged patch from Jonathan Thomas to have a new
RecordField() function in the pkgRecorder parser. Many thanks
Thomas
Diffstat (limited to 'apt-pkg/pkgrecords.h')
-rw-r--r-- | apt-pkg/pkgrecords.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apt-pkg/pkgrecords.h b/apt-pkg/pkgrecords.h index 78e39e577..ce92cacc4 100644 --- a/apt-pkg/pkgrecords.h +++ b/apt-pkg/pkgrecords.h @@ -69,7 +69,10 @@ class pkgRecords::Parser /*{{{*/ virtual string LongDesc() {return string();}; virtual string Name() {return string();}; virtual string Homepage() {return string();} - + + // An arbitrary custom field + virtual string RecordField(const char *fieldName) { return string();}; + // The record in binary form virtual void GetRec(const char *&Start,const char *&Stop) {Start = Stop = 0;}; |