diff options
author | David Kalnischkies <david@kalnischkies.de> | 2014-03-21 15:54:15 +0100 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-03-21 15:54:15 +0100 |
commit | 63ff42089863cda53aee240ea0124106e8b4d983 (patch) | |
tree | 4f4ff556d5f37f3414804d0394ac9568c7bcc9ac /apt-private/acqprogress.h | |
parent | a1b6a4e7c5f5a859d27e00c2753b7f7b7e9ae14d (diff) |
enable fvisibility=hidden for our private library
While it is a huge undertaking to enable it for our public libraries as
basically everything we exported so far could be seen as public
interface our private library is new and under our full control, so we
can do whatever we like with it. The benefits are not that big in return
of course, but it reduces the size a bit, so thats great nontheless.
Git-Dch: ignore
Diffstat (limited to 'apt-private/acqprogress.h')
-rw-r--r-- | apt-private/acqprogress.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/apt-private/acqprogress.h b/apt-private/acqprogress.h index e12dafe50..71a10d78a 100644 --- a/apt-private/acqprogress.h +++ b/apt-private/acqprogress.h @@ -10,18 +10,19 @@ #define ACQPROGRESS_H #include <apt-pkg/acquire.h> +#include <apt-pkg/macros.h> #include <string> -class AcqTextStatus : public pkgAcquireStatus +class APT_PUBLIC AcqTextStatus : public pkgAcquireStatus { unsigned int &ScreenWidth; char BlankLine[1024]; unsigned long ID; unsigned long Quiet; - + public: - + virtual bool MediaChange(std::string Media,std::string Drive); virtual void IMSHit(pkgAcquire::ItemDesc &Itm); virtual void Fetch(pkgAcquire::ItemDesc &Itm); @@ -29,7 +30,7 @@ class AcqTextStatus : public pkgAcquireStatus virtual void Fail(pkgAcquire::ItemDesc &Itm); virtual void Start(); virtual void Stop(); - + bool Pulse(pkgAcquire *Owner); AcqTextStatus(unsigned int &ScreenWidth,unsigned int const Quiet); |