]>
Commit | Line | Data |
---|---|---|
6d38011b DK |
1 | // -*- mode: cpp; mode: fold -*- |
2 | // Description /*{{{*/ | |
3 | /* ###################################################################### | |
4 | ||
5 | EDSP Package List Parser - This implements the abstract parser | |
6 | interface for the APT specific intermediate format which is passed | |
7 | to external resolvers | |
8 | ||
9 | ##################################################################### */ | |
10 | /*}}}*/ | |
11 | #ifndef PKGLIB_EDSPLISTPARSER_H | |
12 | #define PKGLIB_EDSPLISTPARSER_H | |
13 | ||
14 | #include <apt-pkg/deblistparser.h> | |
472ff00e DK |
15 | |
16 | class FileFd; | |
6d38011b DK |
17 | |
18 | class edspListParser : public debListParser | |
19 | { | |
20 | public: | |
21 | virtual bool NewVersion(pkgCache::VerIterator &Ver); | |
8f3ba4e8 DK |
22 | virtual std::string Description(); |
23 | virtual std::string DescriptionLanguage(); | |
6d38011b DK |
24 | virtual MD5SumValue Description_md5(); |
25 | virtual unsigned short VersionHash(); | |
26 | ||
27 | bool LoadReleaseInfo(pkgCache::PkgFileIterator &FileI,FileFd &File, | |
8f3ba4e8 | 28 | std::string section); |
6d38011b | 29 | |
8f3ba4e8 | 30 | edspListParser(FileFd *File, std::string const &Arch = ""); |
6d38011b DK |
31 | |
32 | protected: | |
33 | virtual bool ParseStatus(pkgCache::PkgIterator &Pkg,pkgCache::VerIterator &Ver); | |
34 | ||
35 | }; | |
36 | ||
37 | #endif |