X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/453b82a388013e522b3a1b9fcd6ed0810dab1f4f..7d5234ab88b4cd6b172f13d0912c585983c3410b:/apt-pkg/clean.h?ds=sidebyside 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