clean.h 660 B

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