class pkgDepCache;
class pkgOrderList : protected pkgCache::Namespace
{
- void *d;
+ void * const d;
protected:
pkgDepCache &Cache;
bool DoRun();
// For pre sorting
- static pkgOrderList *Me;
- static int OrderCompareA(const void *a, const void *b) APT_PURE;
- static int OrderCompareB(const void *a, const void *b) APT_PURE;
+ int OrderCompareA(Package *a, Package *b) APT_PURE;
+ int OrderCompareB(Package *a, Package *b) APT_PURE;
int FileCmp(PkgIterator A,PkgIterator B) APT_PURE;
public: