X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/71ecaad29d8066a494f516efc5efd80860653fe2..9224ce3d4d1ea0428a70e75134998e08aa45b1e6:/apt-pkg/clean.h?ds=sidebyside diff --git a/apt-pkg/clean.h b/apt-pkg/clean.h index ad4049e83..466cb67a9 100644 --- a/apt-pkg/clean.h +++ b/apt-pkg/clean.h @@ -10,8 +10,13 @@ #ifndef APTPKG_CLEAN_H #define APTPKG_CLEAN_H - +#ifndef APT_10_CLEANER_HEADERS #include +#endif + +#include + +class pkgCache; class pkgArchiveCleaner { @@ -19,13 +24,13 @@ class pkgArchiveCleaner void *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() {}; + virtual ~pkgArchiveCleaner(); }; #endif