]>
git.saurik.com Git - apt.git/blob - apt-pkg/edsp/edsplistparser.h
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>
28 class edspListParser
: public debListParser
31 virtual bool NewVersion(pkgCache::VerIterator
&Ver
);
32 virtual std::string
Description();
33 virtual std::string
DescriptionLanguage();
34 virtual MD5SumValue
Description_md5();
35 virtual unsigned short VersionHash();
37 bool LoadReleaseInfo(pkgCache::PkgFileIterator
&FileI
,FileFd
&File
,
40 edspListParser(FileFd
*File
, std::string
const &Arch
= "");
43 virtual bool ParseStatus(pkgCache::PkgIterator
&Pkg
,pkgCache::VerIterator
&Ver
);