]>
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>
18 class edspListParser
: public debListParser
21 virtual bool NewVersion(pkgCache::VerIterator
&Ver
);
22 virtual std::string
Description();
23 virtual std::string
DescriptionLanguage();
24 virtual MD5SumValue
Description_md5();
25 virtual unsigned short VersionHash();
27 bool LoadReleaseInfo(pkgCache::PkgFileIterator
&FileI
,FileFd
&File
,
30 edspListParser(FileFd
*File
, std::string
const &Arch
= "");
33 virtual bool ParseStatus(pkgCache::PkgIterator
&Pkg
,pkgCache::VerIterator
&Ver
);