1 // -*- mode: cpp; mode: fold -*-
3 /* ######################################################################
5 EDSP Package List Parser - This implements the abstract parser
6 interface for the APT specific intermediate format which is passed
9 ##################################################################### */
11 #ifndef PKGLIB_EDSPLISTPARSER_H
12 #define PKGLIB_EDSPLISTPARSER_H
14 #include <apt-pkg/deblistparser.h>
15 #include <apt-pkg/md5.h>
16 #include <apt-pkg/pkgcache.h>
20 #ifndef APT_8_CLEANER_HEADERS
21 #include <apt-pkg/pkgcachegen.h>
22 #include <apt-pkg/indexfile.h>
23 #include <apt-pkg/tagfile.h>
27 class edspListParserPrivate
;
29 class APT_HIDDEN edspListParser
: public debListParser
31 edspListParserPrivate
* const d
;
33 virtual bool NewVersion(pkgCache::VerIterator
&Ver
) APT_OVERRIDE
;
34 virtual std::string
Description();
35 virtual std::string
DescriptionLanguage();
36 virtual MD5SumValue
Description_md5() APT_OVERRIDE
;
37 virtual unsigned short VersionHash() APT_OVERRIDE
;
39 bool LoadReleaseInfo(pkgCache::RlsFileIterator
&FileI
,FileFd
&File
,
40 std::string
const §ion
);
42 edspListParser(FileFd
*File
);
43 virtual ~edspListParser();
46 virtual bool ParseStatus(pkgCache::PkgIterator
&Pkg
,pkgCache::VerIterator
&Ver
) APT_OVERRIDE
;