X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/83b880c6505a20247239d897b7387bba37942993..a99bb943e97883af6f063af9eb14e20b7a7320fc:/apt-pkg/clean.h diff --git a/apt-pkg/clean.h b/apt-pkg/clean.h index 930d54a7f..6cedae086 100644 --- a/apt-pkg/clean.h +++ b/apt-pkg/clean.h @@ -21,16 +21,18 @@ class pkgCache; class pkgArchiveCleaner { /** \brief dpointer placeholder (for later in case we need it) */ - void *d; + void * const d; protected: - + virtual void Erase(const char * /*File*/,std::string /*Pkg*/,std::string /*Ver*/,struct stat & /*St*/) {}; - public: - + public: + bool Go(std::string Dir,pkgCache &Cache); - virtual ~pkgArchiveCleaner() {}; + + pkgArchiveCleaner(); + virtual ~pkgArchiveCleaner(); }; #endif