summaryrefslogtreecommitdiffstats
path: root/common/notifier.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-11-29 11:27:04 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-11-29 11:27:04 +0100
commit6a072b2dcf23cbcdb210f2bd5c273ea0f425b188 (patch)
treecc2789c59e04018743aa0d575ee51a6f10869ffc /common/notifier.h
parent81b459c0f013704e95fb5933525c82a6ca46f13f (diff)
downloadsink-6a072b2dcf23cbcdb210f2bd5c273ea0f425b188.tar.gz
sink-6a072b2dcf23cbcdb210f2bd5c273ea0f425b188.zip
The synchronization call can be sync.
... because we really just enqueue the request and then wait for the notification.
Diffstat (limited to 'common/notifier.h')
-rw-r--r--common/notifier.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/notifier.h b/common/notifier.h
index 3d61e95..df8f34b 100644
--- a/common/notifier.h
+++ b/common/notifier.h
@@ -36,6 +36,7 @@ class SINK_EXPORT Notifier
36{ 36{
37public: 37public:
38 Notifier(const QSharedPointer<ResourceAccess> &resourceAccess); 38 Notifier(const QSharedPointer<ResourceAccess> &resourceAccess);
39 Notifier(const QByteArray &resourceInstanceIdentifier);
39 Notifier(const QByteArray &resourceInstanceIdentifier, const QByteArray &resourceType); 40 Notifier(const QByteArray &resourceInstanceIdentifier, const QByteArray &resourceType);
40 void registerHandler(std::function<void(const Notification &)>); 41 void registerHandler(std::function<void(const Notification &)>);
41 42