X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/0d29b9d4368284782862c7b507c47002b79ddb27..05f64ca2e483709faa6bc69dfa79129d2d4c679e:/apt-pkg/sourcelist.h diff --git a/apt-pkg/sourcelist.h b/apt-pkg/sourcelist.h index 4943dd32a..998357509 100644 --- a/apt-pkg/sourcelist.h +++ b/apt-pkg/sourcelist.h @@ -55,12 +55,12 @@ class metaIndex; class pkgSourceList { public: - + // List of supported source list types class Type { public: - + // Global list of Items supported static Type **GlobalList; static unsigned long GlobalListLen; @@ -83,9 +83,9 @@ class pkgSourceList Type(); virtual ~Type() {}; }; - + typedef std::vector::const_iterator const_iterator; - + protected: std::vector SrcList; @@ -116,11 +116,6 @@ class pkgSourceList // query last-modified time time_t GetLastModifiedTime(); - // Add custom metaIndex (e.g. local files) - void Add(metaIndex *mi) { - SrcList.push_back(mi); - } - pkgSourceList(); pkgSourceList(std::string File); ~pkgSourceList();