From 6bd13dfa606f758212a20634f0f073596f42101f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 18 Jul 2012 02:45:35 +0000 Subject: 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 --- src/server/Context.hpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/server/Context.hpp') 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(); -- cgit v1.2.1