From b853b3dde1f7028dd275f78433a6ad9b5b9f61c7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 8 Sep 2006 23:15:42 +0000 Subject: More cleanups git-svn-id: http://svn.drobilla.net/lad/ingen@122 a436a847-0d15-0410-975c-d299462d15a1 --- src/libs/client/OSCEngineSender.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/libs/client/OSCEngineSender.h') diff --git a/src/libs/client/OSCEngineSender.h b/src/libs/client/OSCEngineSender.h index 91e2d559..3335a91f 100644 --- a/src/libs/client/OSCEngineSender.h +++ b/src/libs/client/OSCEngineSender.h @@ -47,11 +47,13 @@ public: string engine_url() { return _engine_url; } inline size_t next_id() - { if (_id != -1) { _id = (_id == -2) ? 0 : _id+1; } return _id; } + { int32_t ret = (_id == -1) ? -1 : _id++; return ret; } void enable_responses() { _id = 0; } void disable_responses() { _id = -1; } + void attach(int32_t ping_id, bool block); + /* *** EngineInterface implementation below here *** */ @@ -80,6 +82,12 @@ public: const string& plugin_type, const string& plugin_uri, bool polyphonic); + + void create_node(const string& path, + const string& plugin_type, + const string& library_name, + const string& plugin_label, + bool polyphonic); void rename(const string& old_path, const string& new_name); -- cgit v1.2.1