]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/debsystem.h
Merge branch 'debian/sid' into debian/experimental
[apt.git] / apt-pkg / deb / debsystem.h
index 84e57e74a762c8fa9dd4dffd25f77409f0628160..226cd60bfd91147a9d86c44e4d8277b1171bfcbb 100644 (file)
 #ifndef PKGLIB_DEBSYSTEM_H
 #define PKGLIB_DEBSYSTEM_H
 
-#ifdef __GNUG__
-#pragma interface "apt-pkg/debsystem.h"
-#endif
-
 #include <apt-pkg/pkgsystem.h>
+#include <apt-pkg/pkgcache.h>
+#include <apt-pkg/cacheiterators.h>
+
+#include <vector>
+class Configuration;
+class pkgIndexFile;
+class pkgPackageManager;
+class debSystemPrivate;
+class pkgDepCache;
 
+#ifndef APT_10_CLEANER_HEADERS
 class debStatusIndex;
+#endif
+
 class debSystem : public pkgSystem
 {
-   // For locking support
-   int LockFD;
-   unsigned LockCount;
-   bool CheckUpdates();
-   
-   debStatusIndex *StatusFile;
-   
+   // private d-pointer
+   debSystemPrivate *d;
+   APT_HIDDEN bool CheckUpdates();
+
    public:
 
    virtual bool Lock();
@@ -39,7 +44,7 @@ class debSystem : public pkgSystem
                          pkgIndexFile *&Found) const;
 
    debSystem();
-   ~debSystem();
+   virtual ~debSystem();
 };
 
 extern debSystem debSys;