diff options
author | David Robillard <d@drobilla.net> | 2012-07-18 02:45:35 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-07-18 02:45:35 +0000 |
commit | 6bd13dfa606f758212a20634f0f073596f42101f (patch) | |
tree | 84b4397e7961ffe46375feb17c847bb43e76e30e /src/server/Context.hpp | |
parent | 5afdd1098140b9aba15ff470356bf73b9144501a (diff) | |
download | ingen-6bd13dfa606f758212a20634f0f073596f42101f.tar.gz ingen-6bd13dfa606f758212a20634f0f073596f42101f.tar.bz2 ingen-6bd13dfa606f758212a20634f0f073596f42101f.zip |
Working bi-directional UI <=> plugin messaging.
Rewrite notification system to support variably sized notifications.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4548 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/Context.hpp')
-rw-r--r-- | src/server/Context.hpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/server/Context.hpp b/src/server/Context.hpp index 8afe1caa..7bcfb136 100644 --- a/src/server/Context.hpp +++ b/src/server/Context.hpp @@ -22,12 +22,12 @@ #include "ingen/shared/World.hpp" #include "types.hpp" -#include "Notification.hpp" namespace Ingen { namespace Server { class Engine; +class PortImpl; /** Graph execution context. * @@ -63,12 +63,12 @@ public: virtual ~Context() {} /** Send a notification from this run context. */ - void notify( - Notification::Type type = Notification::NIL, - FrameTime time = 0, - PortImpl* port = 0, - const Raul::Atom& value = Raul::Atom(), - const ControlBindings::Type btype = ControlBindings::NULL_CONTROL); + void notify(LV2_URID key = 0, + FrameTime time = 0, + PortImpl* port = 0, + uint32_t size = 0, + Raul::Atom::TypeID type = 0, + const void* body = NULL); /** Emit pending notifications in some other non-realtime thread. */ void emit_notifications(); |