]> git.saurik.com Git - apt.git/blame - apt-pkg/clean.h
merged from donkult
[apt.git] / apt-pkg / clean.h
CommitLineData
1bc849af
AL
1// -*- mode: cpp; mode: fold -*-
2// Description /*{{{*/
727f18af 3// $Id: clean.h,v 1.2 1999/07/20 05:53:33 jgg Exp $
1bc849af
AL
4/* ######################################################################
5
6 Clean - Clean out downloaded directories
7
8 ##################################################################### */
9 /*}}}*/
10#ifndef APTPKG_CLEAN_H
11#define APTPKG_CLEAN_H
12
1bc849af
AL
13
14#include <apt-pkg/pkgcache.h>
15
16class pkgArchiveCleaner
17{
be9b62f7
MV
18 /** \brief dpointer placeholder (for later in case we need it) */
19 void *d;
20
1bc849af
AL
21 protected:
22
8f3ba4e8 23 virtual void Erase(const char * /*File*/,std::string /*Pkg*/,std::string /*Ver*/,struct stat & /*St*/) {};
1bc849af
AL
24
25 public:
26
8f3ba4e8 27 bool Go(std::string Dir,pkgCache &Cache);
42ab8223 28 virtual ~pkgArchiveCleaner() {};
1bc849af
AL
29};
30
31#endif