X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/94f6611592b4b77ac257ec37445776ac2845f682..ad7e0941b376d792911f240377094a2e78ca8756:/apt-pkg/sourcelist.h diff --git a/apt-pkg/sourcelist.h b/apt-pkg/sourcelist.h index cdf8d9762..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 AddMetaIndex(metaIndex *mi) { - SrcList.push_back(mi); - } - pkgSourceList(); pkgSourceList(std::string File); ~pkgSourceList();