diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-11-29 11:27:04 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-11-29 11:27:04 +0100 |
commit | 6a072b2dcf23cbcdb210f2bd5c273ea0f425b188 (patch) | |
tree | cc2789c59e04018743aa0d575ee51a6f10869ffc /common/notifier.h | |
parent | 81b459c0f013704e95fb5933525c82a6ca46f13f (diff) | |
download | sink-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.h | 1 |
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 | { |
37 | public: | 37 | public: |
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 | ||