summaryrefslogtreecommitdiffstats
path: root/common/clientapi.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-02-08 19:29:58 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-02-08 19:29:58 +0100
commit6f43bb64e180083aff726a5be2c5122e97e54819 (patch)
treeab6427486e26ccbeb190200cb0ade54a99ec6604 /common/clientapi.h
parented9f2ce38e11c907c8b801736bebc6923e9dbb2b (diff)
downloadsink-6f43bb64e180083aff726a5be2c5122e97e54819.tar.gz
sink-6f43bb64e180083aff726a5be2c5122e97e54819.zip
Listen for notifications from specific resources.
Diffstat (limited to 'common/clientapi.h')
-rw-r--r--common/clientapi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/clientapi.h b/common/clientapi.h
index 8697003..d0910df 100644
--- a/common/clientapi.h
+++ b/common/clientapi.h
@@ -128,13 +128,13 @@ namespace Resources {
128class SINKCOMMON_EXPORT Notifier { 128class SINKCOMMON_EXPORT Notifier {
129public: 129public:
130 Notifier(const QSharedPointer<ResourceAccess> &resourceAccess); 130 Notifier(const QSharedPointer<ResourceAccess> &resourceAccess);
131 // Notifier(const QByteArray &resource); 131 Notifier(const QByteArray &resourceInstanceIdentifier);
132 // Notifier(const QByteArrayList &resource); 132 // Notifier(const QByteArrayList &resource);
133 void registerHandler(std::function<void(const Notification &)>); 133 void registerHandler(std::function<void(const Notification &)>);
134 134
135private: 135private:
136 class Private; 136 class Private;
137 QScopedPointer<Private> d; 137 QSharedPointer<Private> d;
138}; 138};
139 139
140} 140}