]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/sourcelist.h
move pkgSourceList::AddMetaIndex() into a private subclass until we decide about...
[apt.git] / apt-pkg / sourcelist.h
index cdf8d9762b03f18a3ea1c421a428e0309a2cb61a..99e83f45469efd718ee137e4789674db8508c71a 100644 (file)
@@ -52,7 +52,15 @@ class pkgAcquire;
 class pkgIndexFile;
 class metaIndex;
 
-class pkgSourceList
+class pkgSource
+{
+   protected:
+
+   std::vector<metaIndex *> SrcList;
+
+};
+
+class pkgSourceList : public pkgSource
 {
    public:
    
@@ -116,11 +124,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();