X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/be20eef52da4b7f361333ea70a8d705a98ae779e..cc0a4c82b3c132abba9b9ec35fd61bc8b45a1b80:/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