]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-extracttemplates.h
Implement CacheDB for source packages in apt-ftparchive
[apt.git] / cmdline / apt-extracttemplates.h
index d0f90d3f490fbac49cf827caf8169723bcf4d74a..9cc3f5f258be11451c4492a60ad9ccf1891abd05 100644 (file)
 #define _APTEXTRACTTEMPLATE_H_
 
 #include <apt-pkg/fileutl.h>
-#include <apt-pkg/pkgcache.h>
 #include <apt-pkg/dirstream.h>
 
+#include <string>
+
+class pkgCache;
+
 class DebFile : public pkgDirStream
 {
        FileFd File;
@@ -31,11 +34,11 @@ public:
        bool Go();
        bool ParseInfo();
 
-       static string GetInstalledVer(const string &package);
+       static std::string GetInstalledVer(const std::string &package);
 
-       string Package;
-       string Version;
-       string DepVer, PreDepVer;
+       std::string Package;
+       std::string Version;
+       std::string DepVer, PreDepVer;
        unsigned int DepOp, PreDepOp;
 
        char *Config;