X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/727f18afe9c2eec15ee446cb667d9561644b5bf6..c307a4f0aa29c9c52a0e028524d21b448a53d09b:/apt-pkg/clean.h diff --git a/apt-pkg/clean.h b/apt-pkg/clean.h index ee65fcb61..ad4049e83 100644 --- a/apt-pkg/clean.h +++ b/apt-pkg/clean.h @@ -10,21 +10,22 @@ #ifndef APTPKG_CLEAN_H #define APTPKG_CLEAN_H -#ifdef __GNUG__ -#pragma interface "apt-pkg/clean.h" -#endif #include class pkgArchiveCleaner { + /** \brief dpointer placeholder (for later in case we need it) */ + void *d; + protected: - virtual void Erase(const char * /*File*/,string /*Pkg*/,string /*Ver*/,struct stat & /*St*/) {}; + virtual void Erase(const char * /*File*/,std::string /*Pkg*/,std::string /*Ver*/,struct stat & /*St*/) {}; public: - bool Go(string Dir,pkgCache &Cache); + bool Go(std::string Dir,pkgCache &Cache); + virtual ~pkgArchiveCleaner() {}; }; #endif