projects
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
debian/control: Set Standards-Version to 3.9.7
[apt.git]
/
apt-pkg
/
clean.h
diff --git
a/apt-pkg/clean.h
b/apt-pkg/clean.h
index ad4049e839e67cef1624d2ca60a9cde290d4998c..6cedae0869a7811426273c9bca57e51cbddc21a7 100644
(file)
--- a/
apt-pkg/clean.h
+++ b/
apt-pkg/clean.h
@@
-10,22
+10,29
@@
#ifndef APTPKG_CLEAN_H
#define APTPKG_CLEAN_H
#ifndef APTPKG_CLEAN_H
#define APTPKG_CLEAN_H
-
+#ifndef APT_10_CLEANER_HEADERS
#include <apt-pkg/pkgcache.h>
#include <apt-pkg/pkgcache.h>
+#endif
+
+#include <string>
+
+class pkgCache;
class pkgArchiveCleaner
{
/** \brief dpointer placeholder (for later in case we need it) */
class pkgArchiveCleaner
{
/** \brief dpointer placeholder (for later in case we need it) */
- void *d;
+ void *
const
d;
protected:
protected:
-
+
virtual void Erase(const char * /*File*/,std::string /*Pkg*/,std::string /*Ver*/,struct stat & /*St*/) {};
virtual void Erase(const char * /*File*/,std::string /*Pkg*/,std::string /*Ver*/,struct stat & /*St*/) {};
- public:
-
+ public:
+
bool Go(std::string Dir,pkgCache &Cache);
bool Go(std::string Dir,pkgCache &Cache);
- virtual ~pkgArchiveCleaner() {};
+
+ pkgArchiveCleaner();
+ virtual ~pkgArchiveCleaner();
};
#endif
};
#endif