]>
git.saurik.com Git - apt.git/blob - apt-pkg/clean.h
1 // -*- mode: cpp; mode: fold -*-
3 // $Id: clean.h,v 1.2 1999/07/20 05:53:33 jgg Exp $
4 /* ######################################################################
6 Clean - Clean out downloaded directories
8 ##################################################################### */
10 #ifndef APTPKG_CLEAN_H
11 #define APTPKG_CLEAN_H
13 #ifndef APT_10_CLEANER_HEADERS
14 #include <apt-pkg/pkgcache.h>
21 class pkgArchiveCleaner
23 /** \brief dpointer placeholder (for later in case we need it) */
28 virtual void Erase(const char * /*File*/,std::string
/*Pkg*/,std::string
/*Ver*/,struct stat
& /*St*/) {};
32 bool Go(std::string Dir
,pkgCache
&Cache
);
33 virtual ~pkgArchiveCleaner() {};