diff options
author | Slávek Banko <[email protected]> | 2019-02-17 04:36:03 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2019-02-17 04:36:03 +0100 |
commit | 9dfe8647a49260942c36c10e28bdaa4f463fc818 (patch) | |
tree | 56bfff4c74e2a1668277a67be5a1c1f829717fbf | |
parent | ecbfff06c31eadc067ce8fc6669a658a008b3fd9 (diff) | |
download | katapult-9dfe8647a49260942c36c10e28bdaa4f463fc818.tar.gz katapult-9dfe8647a49260942c36c10e28bdaa4f463fc818.zip |
Add KDE_EXPORT to public library symbols.
This allows build with gcc hidden visibility.
Signed-off-by: Slávek Banko <[email protected]>
-rw-r--r-- | katapult/common/actionregistry.h | 7 | ||||
-rw-r--r-- | katapult/common/cachedcatalog.h | 2 | ||||
-rw-r--r-- | katapult/common/imagedisplay.h | 2 | ||||
-rw-r--r-- | katapult/common/katapultaction.h | 7 | ||||
-rw-r--r-- | katapult/common/katapultcatalog.h | 2 | ||||
-rw-r--r-- | katapult/common/katapultdisplay.h | 2 | ||||
-rw-r--r-- | katapult/common/katapultitem.h | 2 | ||||
-rw-r--r-- | katapult/common/match.h | 8 |
8 files changed, 24 insertions, 8 deletions
diff --git a/katapult/common/actionregistry.h b/katapult/common/actionregistry.h index 6cf1fa3..db9e6e6 100644 --- a/katapult/common/actionregistry.h +++ b/katapult/common/actionregistry.h @@ -20,7 +20,12 @@ #ifndef ACTIONREGISTRY_H #define ACTIONREGISTRY_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <tqptrlist.h> +#include <kdemacros.h> class KatapultItem; class KatapultAction; @@ -28,7 +33,7 @@ class KatapultAction; /** @author Joe Ferris */ -class ActionRegistry{ +class KDE_EXPORT ActionRegistry{ public: ~ActionRegistry(); diff --git a/katapult/common/cachedcatalog.h b/katapult/common/cachedcatalog.h index e02e578..291b0d3 100644 --- a/katapult/common/cachedcatalog.h +++ b/katapult/common/cachedcatalog.h @@ -30,7 +30,7 @@ class KatapultItem; /** @author Joe Ferris */ -class CachedCatalog : public KatapultCatalog +class KDE_EXPORT CachedCatalog : public KatapultCatalog { Q_OBJECT diff --git a/katapult/common/imagedisplay.h b/katapult/common/imagedisplay.h index a9de837..aa99895 100644 --- a/katapult/common/imagedisplay.h +++ b/katapult/common/imagedisplay.h @@ -33,7 +33,7 @@ class TQFont; /** @author Joe Ferris, Bastian Holst */ -class ImageDisplay : public KatapultDisplay +class KDE_EXPORT ImageDisplay : public KatapultDisplay { Q_OBJECT diff --git a/katapult/common/katapultaction.h b/katapult/common/katapultaction.h index 7949a77..fd198a8 100644 --- a/katapult/common/katapultaction.h +++ b/katapult/common/katapultaction.h @@ -20,8 +20,13 @@ #ifndef KATAPULTACTION_H #define KATAPULTACTION_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + #include <tqstring.h> #include <tqptrlist.h> +#include <kdemacros.h> class TQPixmap; class KatapultItem; @@ -29,7 +34,7 @@ class KatapultItem; /** @author Joe Ferris */ -class KatapultAction { +class KDE_EXPORT KatapultAction { public: virtual ~KatapultAction(); diff --git a/katapult/common/katapultcatalog.h b/katapult/common/katapultcatalog.h index 3ffef8d..2f717d3 100644 --- a/katapult/common/katapultcatalog.h +++ b/katapult/common/katapultcatalog.h @@ -32,7 +32,7 @@ class TDEConfigBase; /** @author Joe Ferris */ -class KatapultCatalog : public TQObject { +class KDE_EXPORT KatapultCatalog : public TQObject { Q_OBJECT diff --git a/katapult/common/katapultdisplay.h b/katapult/common/katapultdisplay.h index 4757d3e..320f393 100644 --- a/katapult/common/katapultdisplay.h +++ b/katapult/common/katapultdisplay.h @@ -33,7 +33,7 @@ class TDEConfigBase; /** @author Joe Ferris */ -class KatapultDisplay : public TQWidget +class KDE_EXPORT KatapultDisplay : public TQWidget { Q_OBJECT diff --git a/katapult/common/katapultitem.h b/katapult/common/katapultitem.h index aab98f8..1720d6c 100644 --- a/katapult/common/katapultitem.h +++ b/katapult/common/katapultitem.h @@ -30,7 +30,7 @@ class TQString; /** @author Joe Ferris */ -class KatapultItem : public TQObject { +class KDE_EXPORT KatapultItem : public TQObject { Q_OBJECT public: diff --git a/katapult/common/match.h b/katapult/common/match.h index 818158b..fa0eccb 100644 --- a/katapult/common/match.h +++ b/katapult/common/match.h @@ -20,12 +20,18 @@ #ifndef MATCH_H #define MATCH_H +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <kdemacros.h> + class KatapultItem; /** @author Joe Ferris */ -class Match { +class KDE_EXPORT Match { public: Match(); Match(const KatapultItem *, int, unsigned int); |