From 119468f621a59d86da10bedf75c4427b70f9d370 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 16 Mar 2012 03:15:41 +0000 Subject: Remove activity from interface and use set_property() instead. Move client registration stuff to Engine and remove corresponding events. Simply response ID interface. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4066 a436a847-0d15-0410-975c-d299462d15a1 --- ingen/EngineBase.hpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'ingen/EngineBase.hpp') diff --git a/ingen/EngineBase.hpp b/ingen/EngineBase.hpp index 80d1c789..a0fba00f 100644 --- a/ingen/EngineBase.hpp +++ b/ingen/EngineBase.hpp @@ -18,8 +18,12 @@ #ifndef INGEN_ENGINE_BASE_HPP #define INGEN_ENGINE_BASE_HPP +#include "raul/URI.hpp" + namespace Ingen { +class ClientInterface; + /** The engine which executes the process graph. @@ -60,6 +64,18 @@ public: caller should cease calling main_iteration() and stop the engine. */ virtual bool main_iteration() = 0; + + /** + Register a client to receive updates about engine changes. + */ + virtual void register_client(const Raul::URI& uri, + ClientInterface* client) = 0; + + /** + Unregister a client. + */ + virtual bool unregister_client(const Raul::URI& uri) = 0; + }; } // namespace Ingen -- cgit v1.2.1