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/resourceconfig.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/resourceconfig.h')
-rw-r--r-- | common/resourceconfig.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/resourceconfig.h b/common/resourceconfig.h index cc9cb94..5a27971 100644 --- a/common/resourceconfig.h +++ b/common/resourceconfig.h | |||
@@ -19,12 +19,13 @@ | |||
19 | 19 | ||
20 | #pragma once | 20 | #pragma once |
21 | 21 | ||
22 | #include <sinkcommon_export.h> | ||
22 | #include <QList> | 23 | #include <QList> |
23 | #include <QByteArray> | 24 | #include <QByteArray> |
24 | #include <QVariant> | 25 | #include <QVariant> |
25 | #include <QMap> | 26 | #include <QMap> |
26 | 27 | ||
27 | class ResourceConfig | 28 | class SINKCOMMON_EXPORT ResourceConfig |
28 | { | 29 | { |
29 | public: | 30 | public: |
30 | static QMap<QByteArray, QByteArray> getResources(); | 31 | static QMap<QByteArray, QByteArray> getResources(); |