diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2013-08-18 22:20:25 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-05-09 13:06:27 +0200 |
commit | ffe3c68e494efc1c2c4d748fa9d69e150867e5c2 (patch) | |
tree | e4d4ecab9da79cdf4bd75ac2b8c7b2e7cc599bbc /apt-pkg/deb/debrecords.h | |
parent | 895417ef99bb1371d8970da1afe87c6d64382f67 (diff) |
parse and retrieve multiple Descriptions in one record
It seems unlikely for now that proper archives will carry multiple
Description-* stanzas in the Packages (or Translation-*) file, but
sometimes apt eats its own output as shown by the usage of the CD team
and it would be interesting to let apt output multiple translations
e.g. in 'apt-cache show'.
Diffstat (limited to 'apt-pkg/deb/debrecords.h')
-rw-r--r-- | apt-pkg/deb/debrecords.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/deb/debrecords.h b/apt-pkg/deb/debrecords.h index 90c88fefe..2bd3f3c8f 100644 --- a/apt-pkg/deb/debrecords.h +++ b/apt-pkg/deb/debrecords.h @@ -49,8 +49,8 @@ class debRecordParser : public pkgRecords::Parser // These are some general stats about the package virtual std::string Maintainer(); - virtual std::string ShortDesc(); - virtual std::string LongDesc(); + virtual std::string ShortDesc(std::string const &lang); + virtual std::string LongDesc(std::string const &lang); virtual std::string Name(); virtual std::string Homepage(); |