diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2011-09-19 19:14:19 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2011-09-19 19:14:19 +0200 |
commit | 472ff00ef2e48383805d281c6364ec27839e3f4d (patch) | |
tree | 6f81e83690167fc78f3bbd3dcf03cf83cdcc60f6 /apt-pkg/edsp.h | |
parent | 8f3ba4e8708cb72be19dacc2af4f601ee5fea292 (diff) | |
download | apt-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.h | 11 |
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ā¦ |