]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/sourcelist.h
rename AuthDone() -> CheckAuthDone()
[apt.git] / apt-pkg / sourcelist.h
index 0ebf4e0807ec7d326fe49bce377564374920d21c..35b786e1a1556b57d646cf9d3316e9e1279250b6 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:
    
@@ -88,13 +96,9 @@ class pkgSourceList
    
    public:
 
-   std::vector<metaIndex *> SrcList;
-
    int ParseFileDeb822(std::string File);
    bool ParseFileOldStyle(std::string File);
 
-   public:
-
    bool ReadMainList();
    bool Read(std::string File);