]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/debsystem.h
Merge remote-tracking branch 'mvo/debian/sid' into debian/experimental-no-abi-break
[apt.git] / apt-pkg / deb / debsystem.h
index 5f9995e5dc7c9716cc0d97ee09fdb0469c778235..85512351639ecfaa4c10e50feca364c149416715 100644 (file)
 #define PKGLIB_DEBSYSTEM_H
 
 #include <apt-pkg/pkgsystem.h>
+#include <apt-pkg/pkgcache.h>
 
+class debSystemPrivate;
 class debStatusIndex;
+class pkgDepCache;
+
 class debSystem : public pkgSystem
 {
-   // For locking support
-   int LockFD;
-   unsigned LockCount;
+   // private d-pointer
+   debSystemPrivate *d;
    bool CheckUpdates();
-   
-   debStatusIndex *StatusFile;
-   
+
    public:
 
    virtual bool Lock();
@@ -35,7 +36,7 @@ class debSystem : public pkgSystem
                          pkgIndexFile *&Found) const;
 
    debSystem();
-   ~debSystem();
+   virtual ~debSystem();
 };
 
 extern debSystem debSys;