summaryrefslogtreecommitdiff
path: root/apt-pkg/edsp.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2011-09-19 19:14:19 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2011-09-19 19:14:19 +0200
commit472ff00ef2e48383805d281c6364ec27839e3f4d (patch)
tree6f81e83690167fc78f3bbd3dcf03cf83cdcc60f6 /apt-pkg/edsp.h
parent8f3ba4e8708cb72be19dacc2af4f601ee5fea292 (diff)
downloadapt-472ff00ef2e48383805d281c6364ec27839e3f4d.tar.gz
use forward declaration in headers if possible instead of includes
Diffstat (limited to 'apt-pkg/edsp.h')
-rw-r--r--apt-pkg/edsp.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/apt-pkg/edsp.h b/apt-pkg/edsp.h
index 743c3f5d1..c14309422 100644
--- a/apt-pkg/edsp.h
+++ b/apt-pkg/edsp.h
@@ -9,12 +9,17 @@
#ifndef PKGLIB_EDSP_H
#define PKGLIB_EDSP_H
-#include <apt-pkg/depcache.h>
-#include <apt-pkg/cacheset.h>
-#include <apt-pkg/progress.h>
+#include <apt-pkg/pkgcache.h>
+#include <list>
#include <string>
+namespace APT {
+ class PackageSet;
+};
+class pkgDepCache;
+class OpProgress;
+
class EDSP /*{{{*/
{
// we could use pkgCache::DepType and ::Priority, but these would be localized stringsā€¦