]> git.saurik.com Git - apt.git/blob - apt-pkg/clean.h
* debian/apt.cron.daily:
[apt.git] / apt-pkg / clean.h
1 // -*- mode: cpp; mode: fold -*-
2 // Description /*{{{*/
3 // $Id: clean.h,v 1.2 1999/07/20 05:53:33 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
14 #include <apt-pkg/pkgcache.h>
15
16 class pkgArchiveCleaner
17 {
18 protected:
19
20 virtual void Erase(const char * /*File*/,string /*Pkg*/,string /*Ver*/,struct stat & /*St*/) {};
21
22 public:
23
24 bool Go(string Dir,pkgCache &Cache);
25 virtual ~pkgArchiveCleaner() {};
26 };
27
28 #endif