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 #include <apt-pkg/pkgcachegen.h>
00016 #include <apt-pkg/indexfile.h>
00017 #include <apt-pkg/tagfile.h>
00018 
00019 class edspListParser : public debListParser
00020 {
00021    public:
00022    virtual bool NewVersion(pkgCache::VerIterator &Ver);
00023    virtual string Description();
00024    virtual string DescriptionLanguage();
00025    virtual MD5SumValue Description_md5();
00026    virtual unsigned short VersionHash();
00027 
00028    bool LoadReleaseInfo(pkgCache::PkgFileIterator &FileI,FileFd &File,
00029                         string section);
00030 
00031    edspListParser(FileFd *File, string const &Arch = "");
00032 
00033    protected:
00034    virtual bool ParseStatus(pkgCache::PkgIterator &Pkg,pkgCache::VerIterator &Ver);
00035 
00036 };
00037 
00038 #endif