X-Git-Url: http://git.hcoop.net/ntk/apt.git/blobdiff_plain/5abee4863220c2d9b135dc832b33c8680e5ba12e..25252738d5ad6042b356f2d6bec2ca52ef08a1e2:/apt-pkg/indexcopy.h diff --git a/apt-pkg/indexcopy.h b/apt-pkg/indexcopy.h index e3de1afd..43cdb3f0 100644 --- a/apt-pkg/indexcopy.h +++ b/apt-pkg/indexcopy.h @@ -14,13 +14,18 @@ #include #include +#include + +#ifndef APT_10_CLEANER_HEADERS +#include +class FileFd; +#endif #ifndef APT_8_CLEANER_HEADERS using std::string; using std::vector; #endif class pkgTagSection; -class FileFd; class indexRecords; class pkgCdromStatus; @@ -96,14 +101,10 @@ class SigVerify /*{{{*/ bool CopyAndVerify(std::string CDROM,std::string Name,std::vector &SigList, std::vector PkgList,std::vector SrcList); - /** \brief generates and run the command to verify a file with gpgv */ - static bool RunGPGV(std::string const &File, std::string const &FileOut, + APT_DEPRECATED static bool RunGPGV(std::string const &File, std::string const &FileOut, int const &statusfd, int fd[2]); - inline static bool RunGPGV(std::string const &File, std::string const &FileOut, - int const &statusfd = -1) { - int fd[2]; - return RunGPGV(File, FileOut, statusfd, fd); - }; + APT_DEPRECATED static bool RunGPGV(std::string const &File, std::string const &FileOut, + int const &statusfd = -1); }; /*}}}*/