summaryrefslogtreecommitdiff
path: root/apt-pkg/clean.h
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:52:40 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:52:40 +0000
commit1bc849af8f694ab80887bd0e9b94280f78771dbc (patch)
tree9ef7ce0628b4e3fb0bdd14b352507d8f3a09da2d /apt-pkg/clean.h
parent17caf1b19355813fa7a58828d4979ecf21b1e1f9 (diff)
Clean support
Author: jgg Date: 1999-02-01 08:11:57 GMT Clean support
Diffstat (limited to 'apt-pkg/clean.h')
-rw-r--r--apt-pkg/clean.h30
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