summaryrefslogtreecommitdiffstats
path: root/common/resourceaccess.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/resourceaccess.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/resourceaccess.h')
-rw-r--r--common/resourceaccess.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/resourceaccess.h b/common/resourceaccess.h
index 73b676b..8db0389 100644
--- a/common/resourceaccess.h
+++ b/common/resourceaccess.h
@@ -20,6 +20,7 @@
20 20
21#pragma once 21#pragma once
22 22
23#include <sinkcommon_export.h>
23#include <QLocalSocket> 24#include <QLocalSocket>
24#include <QObject> 25#include <QObject>
25#include <QTimer> 26#include <QTimer>
@@ -34,7 +35,7 @@ namespace Sink
34 35
35struct QueuedCommand; 36struct QueuedCommand;
36 37
37class ResourceAccessInterface : public QObject 38class SINKCOMMON_EXPORT ResourceAccessInterface : public QObject
38{ 39{
39 Q_OBJECT 40 Q_OBJECT
40public: 41public:
@@ -62,7 +63,7 @@ public Q_SLOTS:
62 virtual void close() = 0; 63 virtual void close() = 0;
63}; 64};
64 65
65class ResourceAccess : public ResourceAccessInterface 66class SINKCOMMON_EXPORT ResourceAccess : public ResourceAccessInterface
66{ 67{
67 Q_OBJECT 68 Q_OBJECT
68public: 69public: