apt-key del: Ignore case when checking if a keyid exists in a keyring.
[ntk/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
453b82a3 13#ifndef APT_10_CLEANER_HEADERS
1bc849af 14#include <apt-pkg/pkgcache.h>
453b82a3
DK
15#endif
16
17#include <string>
18
19class pkgCache;
1bc849af
AL
20
21class pkgArchiveCleaner
22{
be9b62f7
MV
23 /** \brief dpointer placeholder (for later in case we need it) */
24 void *d;
25
1bc849af
AL
26 protected:
27
8f3ba4e8 28 virtual void Erase(const char * /*File*/,std::string /*Pkg*/,std::string /*Ver*/,struct stat & /*St*/) {};
1bc849af
AL
29
30 public:
31
8f3ba4e8 32 bool Go(std::string Dir,pkgCache &Cache);
42ab8223 33 virtual ~pkgArchiveCleaner() {};
1bc849af
AL
34};
35
36#endif