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