diff options
Diffstat (limited to 'apt-pkg/clean.h')
-rw-r--r-- | apt-pkg/clean.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/apt-pkg/clean.h b/apt-pkg/clean.h new file mode 100644 index 000000000..afb5aa4f5 --- /dev/null +++ b/apt-pkg/clean.h @@ -0,0 +1,30 @@ +// -*- mode: cpp; mode: fold -*- +// Description /*{{{*/ +// $Id: clean.h,v 1.1 1999/02/01 08:11:57 jgg Exp $ +/* ###################################################################### + + Clean - Clean out downloaded directories + + ##################################################################### */ + /*}}}*/ +#ifndef APTPKG_CLEAN_H +#define APTPKG_CLEAN_H + +#ifdef __GNUG__ +#pragma interface "apt-pkg/clean.h" +#endif + +#include <apt-pkg/pkgcache.h> + +class pkgArchiveCleaner +{ + protected: + + virtual void Erase(const char *File,string Pkg,string Ver,struct stat &St) {}; + + public: + + bool Go(string Dir,pkgCache &Cache); +}; + +#endif |