X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/7e72625549527d9c2db6abceb400f128ca4e85c9..ce928105d7279c5604f034740b04dc6a745fb859:/cmdline/apt-extracttemplates.h diff --git a/cmdline/apt-extracttemplates.h b/cmdline/apt-extracttemplates.h index d0f90d3f4..9cc3f5f25 100644 --- a/cmdline/apt-extracttemplates.h +++ b/cmdline/apt-extracttemplates.h @@ -11,9 +11,12 @@ #define _APTEXTRACTTEMPLATE_H_ #include -#include #include +#include + +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;