diff options
Diffstat (limited to 'common/resourceaccess.h')
-rw-r--r-- | common/resourceaccess.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/resourceaccess.h b/common/resourceaccess.h index 73b676b..4c10adb 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 "sink_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 | ||
35 | struct QueuedCommand; | 36 | struct QueuedCommand; |
36 | 37 | ||
37 | class ResourceAccessInterface : public QObject | 38 | class SINK_EXPORT ResourceAccessInterface : public QObject |
38 | { | 39 | { |
39 | Q_OBJECT | 40 | Q_OBJECT |
40 | public: | 41 | public: |
@@ -62,7 +63,7 @@ public Q_SLOTS: | |||
62 | virtual void close() = 0; | 63 | virtual void close() = 0; |
63 | }; | 64 | }; |
64 | 65 | ||
65 | class ResourceAccess : public ResourceAccessInterface | 66 | class SINK_EXPORT ResourceAccess : public ResourceAccessInterface |
66 | { | 67 | { |
67 | Q_OBJECT | 68 | Q_OBJECT |
68 | public: | 69 | public: |
@@ -100,7 +101,6 @@ private Q_SLOTS: | |||
100 | 101 | ||
101 | private: | 102 | private: |
102 | void connected(); | 103 | void connected(); |
103 | void log(const QString &message); | ||
104 | void registerCallback(uint messageId, const std::function<void(int error, const QString &)> &callback); | 104 | void registerCallback(uint messageId, const std::function<void(int error, const QString &)> &callback); |
105 | 105 | ||
106 | void sendCommand(const QSharedPointer<QueuedCommand> &command); | 106 | void sendCommand(const QSharedPointer<QueuedCommand> &command); |