projects
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
increase Pkg/Grp hash table size from 2k to 64k
[apt.git]
/
apt-pkg
/
clean.h
diff --git
a/apt-pkg/clean.h
b/apt-pkg/clean.h
index 1ebf68dc94d91fab50a46d3f43457daa45e9735d..930d54a7ff3021e4464b7982d201278bed6fbe7b 100644
(file)
--- a/
apt-pkg/clean.h
+++ b/
apt-pkg/clean.h
@@
-10,8
+10,13
@@
#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
{
class pkgArchiveCleaner
{
@@
-20,11
+25,11
@@
class pkgArchiveCleaner
protected:
protected:
- virtual void Erase(const char * /*File*/,st
ring /*Pkg*/,
string /*Ver*/,struct stat & /*St*/) {};
+ virtual void Erase(const char * /*File*/,st
d::string /*Pkg*/,std::
string /*Ver*/,struct stat & /*St*/) {};
public:
public:
- bool Go(string Dir,pkgCache &Cache);
+ bool Go(st
d::st
ring Dir,pkgCache &Cache);
virtual ~pkgArchiveCleaner() {};
};
virtual ~pkgArchiveCleaner() {};
};