// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: indexfile.h,v 1.6.2.1 2003/12/24 23:09:17 mdz Exp $
/* ######################################################################
Index File - Abstraction for an index of archive/source file.
class pkgIndexFile
{
+ void * const d;
protected:
bool Trusted;
bool IsTrusted() const { return Trusted; };
- pkgIndexFile(bool Trusted);
- virtual ~pkgIndexFile() {};
+ explicit pkgIndexFile(bool Trusted);
+ virtual ~pkgIndexFile();
};
class pkgIndexTargetFile : public pkgIndexFile
{
+ void * const d;
protected:
IndexTarget const Target;
virtual unsigned long Size() const;
pkgIndexTargetFile(IndexTarget const &Target, bool const Trusted);
+ virtual ~pkgIndexTargetFile();
};
#endif