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