X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/00026265672f2663e0aa0ab1a3fa7333f718a643..a221efc331693f8905da870141756c892911c433:/apt-pkg/deb/debindexfile.h diff --git a/apt-pkg/deb/debindexfile.h b/apt-pkg/deb/debindexfile.h index 69754e79d..18322dc1b 100644 --- a/apt-pkg/deb/debindexfile.h +++ b/apt-pkg/deb/debindexfile.h @@ -192,7 +192,29 @@ class debDebPkgFileIndex : public pkgIndexFile debDebPkgFileIndex(std::string DebFile); virtual ~debDebPkgFileIndex() {}; - +}; + +class debDscFileIndex : public pkgIndexFile +{ + private: + std::string DscFile; + public: + virtual const Type *GetType() const APT_CONST; + virtual pkgSrcRecords::Parser *CreateSrcParser() const; + virtual bool Exists() const; + virtual bool HasPackages() const {return false;}; + virtual unsigned long Size() const; + virtual std::string Describe(bool /*Short*/) const { + return DscFile; + }; + + debDscFileIndex(std::string &DscFile); + virtual ~debDscFileIndex() {}; +}; + +class debDebianSourceDirIndex : public debDscFileIndex +{ + virtual const Type *GetType() const APT_CONST; }; #endif