+ public:
+
+ // These all operate against the current section
+ virtual string Package() = 0;
+ virtual string Version() = 0;
+ virtual bool NewVersion(pkgCache::VerIterator Ver) = 0;
+ virtual unsigned short VersionHash() = 0;
+ virtual bool UsePackage(pkgCache::PkgIterator Pkg,
+ pkgCache::VerIterator Ver) = 0;
+ virtual unsigned long Offset() = 0;
+ virtual unsigned long Size() = 0;
+
+ virtual bool Step() = 0;
+
+ inline bool HasFileDeps() {return FoundFileDeps;};
+ virtual bool CollectFileProvides(pkgCache &Cache,
+ pkgCache::VerIterator Ver) {return true;};
+
+ ListParser() : FoundFileDeps(false) {};
+ virtual ~ListParser() {};