]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/sourcelist.h
fix the operator++ implementations in the cachesets
[apt.git] / apt-pkg / sourcelist.h
index e15314a5e796fbd87a7eb1ded8101e6790bbdc8e..4509e54b9bbc7afde6e6a0c2c0e79e3c437fd99f 100644 (file)
 #include <vector>
 #include <map>
 #include <apt-pkg/pkgcache.h>
-#include <apt-pkg/metaindex.h>
 
 using std::string;
 using std::vector;
     
 
-class pkgAquire;
+class pkgAcquire;
+class pkgIndexFile;
+class metaIndex;
+
 class pkgSourceList
 {
    public:
@@ -92,6 +94,9 @@ class pkgSourceList
                  pkgIndexFile *&Found) const;
    bool GetIndexes(pkgAcquire *Owner, bool GetAll=false) const;
    
+   // query last-modified time
+   time_t GetLastModifiedTime();
+
    pkgSourceList();
    pkgSourceList(string File);
    ~pkgSourceList();