apt @VERSION@
edsplistparser.h
00001 // -*- mode: cpp; mode: fold -*-
00002 // Description                                                          /*{{{*/
00003 /* ######################################################################
00004 
00005    EDSP Package List Parser - This implements the abstract parser
00006    interface for the APT specific intermediate format which is passed
00007    to external resolvers
00008 
00009    ##################################################################### */
00010                                                                         /*}}}*/
00011 #ifndef PKGLIB_EDSPLISTPARSER_H
00012 #define PKGLIB_EDSPLISTPARSER_H
00013 
00014 #include <apt-pkg/deblistparser.h>
00015 
00016 class FileFd;
00017 
00018 class edspListParser : public debListParser
00019 {
00020    public:
00021    virtual bool NewVersion(pkgCache::VerIterator &Ver);
00022    virtual std::string Description();
00023    virtual std::string DescriptionLanguage();
00024    virtual MD5SumValue Description_md5();
00025    virtual unsigned short VersionHash();
00026 
00027    bool LoadReleaseInfo(pkgCache::PkgFileIterator &FileI,FileFd &File,
00028                         std::string section);
00029 
00030    edspListParser(FileFd *File, std::string const &Arch = "");
00031 
00032    protected:
00033    virtual bool ParseStatus(pkgCache::PkgIterator &Pkg,pkgCache::VerIterator &Ver);
00034 
00035 };
00036 
00037 #endif