apt @VERSION@

clean.h

00001 // -*- mode: cpp; mode: fold -*-
00002 // Description                                                          /*{{{*/
00003 // $Id: clean.h,v 1.2 1999/07/20 05:53:33 jgg Exp $
00004 /* ######################################################################
00005 
00006    Clean - Clean out downloaded directories
00007    
00008    ##################################################################### */
00009                                                                         /*}}}*/
00010 #ifndef APTPKG_CLEAN_H
00011 #define APTPKG_CLEAN_H
00012 
00013 
00014 #include <apt-pkg/pkgcache.h>
00015 
00016 class pkgArchiveCleaner
00017 {
00018    protected:
00019    
00020    virtual void Erase(const char * /*File*/,string /*Pkg*/,string /*Ver*/,struct stat & /*St*/) {};
00021 
00022    public:   
00023    
00024    bool Go(string Dir,pkgCache &Cache);
00025    virtual ~pkgArchiveCleaner() {};
00026 };
00027 
00028 #endif