]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/edsp/edsplistparser.h
allow ratelimiting progress reporting for testcases
[apt.git] / apt-pkg / edsp / edsplistparser.h
index a7bf9de9590a5270cc46a6c1e4b58035fb7d0046..abe2ef139ea7f5b4645a82df4a791269bc0540ab 100644 (file)
 #define PKGLIB_EDSPLISTPARSER_H
 
 #include <apt-pkg/deblistparser.h>
+#include <apt-pkg/md5.h>
+#include <apt-pkg/pkgcache.h>
+
+#include <string>
 
 #ifndef APT_8_CLEANER_HEADERS
 #include <apt-pkg/pkgcachegen.h>
@@ -21,7 +25,7 @@
 
 class FileFd;
 
-class edspListParser : public debListParser
+class APT_HIDDEN edspListParser : public debListParser
 {
    public:
    virtual bool NewVersion(pkgCache::VerIterator &Ver);
@@ -30,8 +34,8 @@ class edspListParser : public debListParser
    virtual MD5SumValue Description_md5();
    virtual unsigned short VersionHash();
 
-   bool LoadReleaseInfo(pkgCache::PkgFileIterator &FileI,FileFd &File,
-                       std::string section);
+   bool LoadReleaseInfo(pkgCache::RlsFileIterator &FileI,FileFd &File,
+                       std::string const &section);
 
    edspListParser(FileFd *File, std::string const &Arch = "");