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/cachefile.h | |
parent | 8f3ba4e8708cb72be19dacc2af4f601ee5fea292 (diff) |
use forward declaration in headers if possible instead of includes
Diffstat (limited to 'apt-pkg/cachefile.h')
-rw-r--r-- | apt-pkg/cachefile.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/apt-pkg/cachefile.h b/apt-pkg/cachefile.h index 243061f0f..b56e42855 100644 --- a/apt-pkg/cachefile.h +++ b/apt-pkg/cachefile.h @@ -17,11 +17,12 @@ #ifndef PKGLIB_CACHEFILE_H #define PKGLIB_CACHEFILE_H - #include <apt-pkg/depcache.h> -#include <apt-pkg/acquire.h> -#include <apt-pkg/policy.h> -#include <apt-pkg/sourcelist.h> +#include <apt-pkg/macros.h> + +class pkgPolicy; +class pkgSourceList; +class OpProgress; class pkgCacheFile { |