summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgrecords.h
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-07-28 13:57:40 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2011-07-28 13:57:40 +0200
commitd3d8ed4a439ffaa0cdec7053001f5810016a4c44 (patch)
tree87c15dc6eee06474f151928f863899cdc0403f97 /apt-pkg/pkgrecords.h
parentc6ec544822a6a5db9f8a507b08381f19c8787761 (diff)
parentb20c16833e20da8e367221b32764889cafe5b4c1 (diff)
merged from debian-experimental2
Diffstat (limited to 'apt-pkg/pkgrecords.h')
-rw-r--r--apt-pkg/pkgrecords.h5
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;};