X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/af87ab54430b31a0e1840b2c1673c07d74813447..75ab11ae3880530c5354cc90c8d1ff0998f8146b:/apt-pkg/deb/debsystem.h

diff --git a/apt-pkg/deb/debsystem.h b/apt-pkg/deb/debsystem.h
index c4e27ced3..855123516 100644
--- a/apt-pkg/deb/debsystem.h
+++ b/apt-pkg/deb/debsystem.h
@@ -1,6 +1,6 @@
 // -*- mode: cpp; mode: fold -*-
 // Description								/*{{{*/
-// $Id: debsystem.h,v 1.3 2001/04/29 05:13:51 jgg Exp $
+// $Id: debsystem.h,v 1.4 2003/01/11 07:16:33 jgg Exp $
 /* ######################################################################
 
    System - Debian version of the  System Class
@@ -10,22 +10,19 @@
 #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>
+
+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();
@@ -34,12 +31,12 @@ class debSystem : public pkgSystem
    virtual bool Initialize(Configuration &Cnf);
    virtual bool ArchiveSupported(const char *Type);
    virtual signed Score(Configuration const &Cnf);
-   virtual bool AddStatusFiles(vector<pkgIndexFile *> &List);
+   virtual bool AddStatusFiles(std::vector<pkgIndexFile *> &List);
    virtual bool FindIndex(pkgCache::PkgFileIterator File,
 			  pkgIndexFile *&Found) const;
 
    debSystem();
-   ~debSystem();
+   virtual ~debSystem();
 };
 
 extern debSystem debSys;