diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-01-31 14:00:05 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-01-31 14:05:11 +0100 |
commit | 7c94e01d9feff8e6c09c88a9e51c8d5a6cb61005 (patch) | |
tree | d2a7635629bdb897aaeba592a6c98dcae3450937 /common/listener.h | |
parent | 380649c1eb762f5f7a10cd15d1c5e87f36b0638c (diff) | |
download | sink-7c94e01d9feff8e6c09c88a9e51c8d5a6cb61005.tar.gz sink-7c94e01d9feff8e6c09c88a9e51c8d5a6cb61005.zip |
Explicitly state visibility
This cuts the exportet symbols from 12k to 2k and the library size from
16Mb to 14Mb, which isn't great but still an improvement.
About 30% of the symbols are coming from the Store:: interface.
nm -C -D /work/install/lib64/libsinkcommon.so.0.1
Diffstat (limited to 'common/listener.h')
-rw-r--r-- | common/listener.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/listener.h b/common/listener.h index e17f315..d4dc884 100644 --- a/common/listener.h +++ b/common/listener.h | |||
@@ -19,6 +19,7 @@ | |||
19 | 19 | ||
20 | #pragma once | 20 | #pragma once |
21 | 21 | ||
22 | #include <sinkcommon_export.h> | ||
22 | #include <QObject> | 23 | #include <QObject> |
23 | 24 | ||
24 | #include <QPointer> | 25 | #include <QPointer> |
@@ -56,7 +57,7 @@ public: | |||
56 | qint64 currentRevision; | 57 | qint64 currentRevision; |
57 | }; | 58 | }; |
58 | 59 | ||
59 | class Listener : public QObject | 60 | class SINKCOMMON_EXPORT Listener : public QObject |
60 | { | 61 | { |
61 | Q_OBJECT | 62 | Q_OBJECT |
62 | 63 | ||