diff options
author | David Robillard <d@drobilla.net> | 2012-03-16 03:15:41 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-03-16 03:15:41 +0000 |
commit | 119468f621a59d86da10bedf75c4427b70f9d370 (patch) | |
tree | f15ea3f345d43b37d492096876c483543fcc1426 /ingen/EngineBase.hpp | |
parent | 0b93e39af34d3af361f35d510224fda4fda56071 (diff) | |
download | ingen-119468f621a59d86da10bedf75c4427b70f9d370.tar.gz ingen-119468f621a59d86da10bedf75c4427b70f9d370.tar.bz2 ingen-119468f621a59d86da10bedf75c4427b70f9d370.zip |
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
Diffstat (limited to 'ingen/EngineBase.hpp')
-rw-r--r-- | ingen/EngineBase.hpp | 16 |
1 files changed, 16 insertions, 0 deletions
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 |