summaryrefslogtreecommitdiffstats
path: root/common/facadefactory.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-01-31 14:00:05 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-01-31 14:05:11 +0100
commit7c94e01d9feff8e6c09c88a9e51c8d5a6cb61005 (patch)
treed2a7635629bdb897aaeba592a6c98dcae3450937 /common/facadefactory.h
parent380649c1eb762f5f7a10cd15d1c5e87f36b0638c (diff)
downloadsink-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/facadefactory.h')
-rw-r--r--common/facadefactory.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/facadefactory.h b/common/facadefactory.h
index 3dca63b..ee65ac9 100644
--- a/common/facadefactory.h
+++ b/common/facadefactory.h
@@ -20,6 +20,7 @@
20 20
21#pragma once 21#pragma once
22 22
23#include <sinkcommon_export.h>
23#include <QByteArray> 24#include <QByteArray>
24#include <QDebug> 25#include <QDebug>
25#include <QMutex> 26#include <QMutex>
@@ -37,7 +38,7 @@ namespace Sink {
37 * 38 *
38 * If we were to provide default implementations for certain capabilities. Here would be the place to do so. 39 * If we were to provide default implementations for certain capabilities. Here would be the place to do so.
39 */ 40 */
40class FacadeFactory { 41class SINKCOMMON_EXPORT FacadeFactory {
41public: 42public:
42 typedef std::function<std::shared_ptr<void>(const QByteArray &)> FactoryFunction; 43 typedef std::function<std::shared_ptr<void>(const QByteArray &)> FactoryFunction;
43 44