home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 February / PCWorld_2000-02_cd.bin / live / usr / include / apt-pkg / clean.h < prev    next >
C/C++ Source or Header  |  1999-06-21  |  666b  |  31 lines

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