]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/dpkgpm.h
Merge remote-tracking branch 'mvo/feature/install-progress' into debian/sid
[apt.git] / apt-pkg / deb / dpkgpm.h
index aab39f633a9a1e4c3a5018102d939899deadb98c..29901a20446edbf888ea5b8be79db93097f2e593 100644 (file)
@@ -14,6 +14,7 @@
 #include <vector>
 #include <map>
 #include <stdio.h>
+#include <apt-pkg/macros.h>
 
 #ifndef APT_8_CLEANER_HEADERS
 using std::vector;
@@ -79,9 +80,12 @@ class pkgDPkgPM : public pkgPackageManager
 
    // Helpers
    bool RunScriptsWithPkgs(const char *Cnf);
-   bool SendV2Pkgs(FILE *F);
+   __deprecated bool SendV2Pkgs(FILE *F);
+   bool SendPkgsInfo(FILE * const F, unsigned int const &Version);
    void WriteHistoryTag(std::string const &tag, std::string value);
 
+   void SendTerminalProgress(float percentage);
+
    // apport integration
    void WriteApportReport(const char *pkgpath, const char *errormsg);