]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/indexrecords.h
Merge EDSP 0.5 w/ multi-arch support for external solvers
[apt.git] / apt-pkg / indexrecords.h
index fa60a08479991d53047baffcf3f2afce271925ed..e31f889ad17ea384d8bf69e5322323def33d22f6 100644 (file)
@@ -5,13 +5,19 @@
 #ifndef PKGLIB_INDEXRECORDS_H
 #define PKGLIB_INDEXRECORDS_H
 
-
-#include <apt-pkg/pkgcache.h>
 #include <apt-pkg/hashes.h>
 
 #include <map>
 #include <vector>
 #include <ctime>
+#include <string>
+
+#ifndef APT_8_CLEANER_HEADERS
+#include <apt-pkg/fileutl.h>
+#endif
+#ifndef APT_10_CLEANER_HEADERS
+#include <apt-pkg/pkgcache.h>
+#endif
 
 class indexRecords
 {
@@ -42,6 +48,7 @@ class indexRecords
 
    virtual bool Load(std::string Filename);
    std::string GetDist() const;
+   std::string GetSuite() const;
    time_t GetValidUntil() const;
    virtual bool CheckDist(const std::string MaybeDist) const;
    std::string GetExpectedDist() const;