X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/c5d2d50f1c137c856063db1f2e9be704b4dc9660..3e68f7e41022790619c698a32390a5256fadba7c:/apt-pkg/deb/debsystem.h diff --git a/apt-pkg/deb/debsystem.h b/apt-pkg/deb/debsystem.h index 84e57e74a..226cd60bf 100644 --- a/apt-pkg/deb/debsystem.h +++ b/apt-pkg/deb/debsystem.h @@ -10,22 +10,27 @@ #ifndef PKGLIB_DEBSYSTEM_H #define PKGLIB_DEBSYSTEM_H -#ifdef __GNUG__ -#pragma interface "apt-pkg/debsystem.h" -#endif - #include +#include +#include + +#include +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;