clean.h 666 B

12345678910111213141516171819202122232425262728293031
  1. // -*- mode: cpp; mode: fold -*-
  2. // Description /*{{{*/
  3. // $Id: clean.h,v 1.1 1999/02/01 08:11:57 jgg Exp $
  4. /* ######################################################################
  5. Clean - Clean out downloaded directories
  6. ##################################################################### */
  7. /*}}}*/
  8. #ifndef APTPKG_CLEAN_H
  9. #define APTPKG_CLEAN_H
  10. #ifdef __GNUG__
  11. #pragma interface "apt-pkg/clean.h"
  12. #endif
  13. #include <apt-pkg/pkgcache.h>
  14. class pkgArchiveCleaner
  15. {
  16. protected:
  17. virtual void Erase(const char *File,string Pkg,string Ver,struct stat &St) {};
  18. public:
  19. bool Go(string Dir,pkgCache &Cache);
  20. };
  21. #endif