diff options
author | Michael Vogt <mvo@debian.org> | 2014-05-27 14:09:48 +0200 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2014-05-27 14:09:48 +0200 |
commit | 9518b448743e9030d854fcbb104516dd5ba648f6 (patch) | |
tree | 4e4b234c82b24d6b7ab00bc31c1e974b3ac12320 /apt-pkg/deb/deblistparser.h | |
parent | 98c934f2723d63d00908803ad47ab1359081ec2d (diff) | |
parent | bc1c9081e826c2c7f265f23d388ba868d5011f6a (diff) |
Merge remote-tracking branch 'upstream/debian/sid' into debian/sid
Diffstat (limited to 'apt-pkg/deb/deblistparser.h')
-rw-r--r-- | apt-pkg/deb/deblistparser.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/apt-pkg/deb/deblistparser.h b/apt-pkg/deb/deblistparser.h index baace79fe..3b6963211 100644 --- a/apt-pkg/deb/deblistparser.h +++ b/apt-pkg/deb/deblistparser.h @@ -106,4 +106,15 @@ class debListParser : public pkgCacheGenerator::ListParser APT_HIDDEN unsigned char ParseMultiArch(bool const showErrors); }; +class debTranslationsParser : public debListParser +{ + public: + // a translation can never be a real package + virtual std::string Architecture() { return ""; } + virtual std::string Version() { return ""; } + + debTranslationsParser(FileFd *File, std::string const &Arch = "") + : debListParser(File, Arch) {}; +}; + #endif |