X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/e5e51967a479552f6513d585a6eeefba05c7a12f..181d587044121448e4d9925cc18ffb404b7b4a9c:/apt-pkg/install-progress.h?ds=sidebyside diff --git a/apt-pkg/install-progress.h b/apt-pkg/install-progress.h index 010be82fd..8a5b68a8f 100644 --- a/apt-pkg/install-progress.h +++ b/apt-pkg/install-progress.h @@ -4,6 +4,7 @@ #include #include #include +#include namespace APT { namespace Progress { @@ -116,11 +117,17 @@ namespace Progress { class PackageManagerFancy : public PackageManager { + private: + static void staticSIGWINCH(int); + static std::vector instances; + protected: - static void SetupTerminalScrollArea(int nr_rows); - static int GetNumberTerminalRows(); - static void HandleSIGWINCH(int); + void SetupTerminalScrollArea(int nr_rows); + void HandleSIGWINCH(int); + + int GetNumberTerminalRows(); sighandler_t old_SIGWINCH; + int child_pty; public: PackageManagerFancy();