summaryrefslogtreecommitdiffstats
path: root/common/resourceaccess.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/resourceaccess.h')
-rw-r--r--common/resourceaccess.h6
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
35struct QueuedCommand; 36struct QueuedCommand;
36 37
37class ResourceAccessInterface : public QObject 38class SINK_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 SINK_EXPORT ResourceAccess : public ResourceAccessInterface
66{ 67{
67 Q_OBJECT 68 Q_OBJECT
68public: 69public:
@@ -100,7 +101,6 @@ private Q_SLOTS:
100 101
101private: 102private:
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);