summaryrefslogtreecommitdiffstats
path: root/common/domainadaptor.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/domainadaptor.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/domainadaptor.h')
-rw-r--r--common/domainadaptor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/domainadaptor.h b/common/domainadaptor.h
index d43fad7..36a8b1c 100644
--- a/common/domainadaptor.h
+++ b/common/domainadaptor.h
@@ -19,6 +19,7 @@
19 19
20#pragma once 20#pragma once
21 21
22#include <sinkcommon_export.h>
22#include <QVariant> 23#include <QVariant>
23#include <QByteArray> 24#include <QByteArray>
24#include <functional> 25#include <functional>
@@ -121,7 +122,7 @@ public:
121 * This is required by the facade the read the value, and by the pipeline preprocessors to access the domain values in a generic way. 122 * This is required by the facade the read the value, and by the pipeline preprocessors to access the domain values in a generic way.
122 */ 123 */
123template<typename DomainType, typename ResourceBuffer, typename ResourceBuilder> 124template<typename DomainType, typename ResourceBuffer, typename ResourceBuilder>
124class DomainTypeAdaptorFactory : public DomainTypeAdaptorFactoryInterface 125class SINKCOMMON_EXPORT DomainTypeAdaptorFactory : public DomainTypeAdaptorFactoryInterface
125{ 126{
126 typedef typename Sink::ApplicationDomain::TypeImplementation<DomainType>::Buffer LocalBuffer; 127 typedef typename Sink::ApplicationDomain::TypeImplementation<DomainType>::Buffer LocalBuffer;
127 typedef typename Sink::ApplicationDomain::TypeImplementation<DomainType>::BufferBuilder LocalBuilder; 128 typedef typename Sink::ApplicationDomain::TypeImplementation<DomainType>::BufferBuilder LocalBuilder;