diff options
author | David Robillard <d@drobilla.net> | 2011-10-03 02:18:42 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-10-03 02:18:42 +0000 |
commit | 8768c927968c2541bcac763d9a4f237081eaca4b (patch) | |
tree | 214b29607be379f4cab4d254562a9949677c5848 /src/server/Engine.cpp | |
parent | af70d4f1e0927ea3e89b78fdf0de4247a32a39b4 (diff) | |
download | ingen-8768c927968c2541bcac763d9a4f237081eaca4b.tar.gz ingen-8768c927968c2541bcac763d9a4f237081eaca4b.tar.bz2 ingen-8768c927968c2541bcac763d9a4f237081eaca4b.zip |
Remove static PortType enumeration from public/client side interface.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3523 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/Engine.cpp')
-rw-r--r-- | src/server/Engine.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/server/Engine.cpp b/src/server/Engine.cpp index 301d90e1..5d27ae2e 100644 --- a/src/server/Engine.cpp +++ b/src/server/Engine.cpp @@ -177,6 +177,7 @@ Engine::activate() // Add control input Resource::Properties in_properties(control_properties); in_properties.insert(make_pair(uris.rdf_type, uris.lv2_InputPort)); + in_properties.insert(make_pair(uris.rdf_type, uris.ev_EventPort)); in_properties.insert(make_pair(uris.lv2_index, 0)); in_properties.insert(make_pair(uris.ingenui_canvas_x, Resource::Property(32.0f, Resource::EXTERNAL))); @@ -185,11 +186,12 @@ Engine::activate() execute_and_delete_event(context, new Events::CreatePort( *this, SharedPtr<Request>(), 0, - "/control_in", uris.ev_EventPort, false, in_properties)); + "/control_in", false, in_properties)); // Add control out Resource::Properties out_properties(control_properties); out_properties.insert(make_pair(uris.rdf_type, uris.lv2_OutputPort)); + out_properties.insert(make_pair(uris.rdf_type, uris.ev_EventPort)); out_properties.insert(make_pair(uris.lv2_index, 1)); out_properties.insert(make_pair(uris.ingenui_canvas_x, Resource::Property(128.0f, Resource::EXTERNAL))); @@ -198,7 +200,7 @@ Engine::activate() execute_and_delete_event(context, new Events::CreatePort( *this, SharedPtr<Request>(), 0, - "/control_out", uris.ev_EventPort, true, out_properties)); + "/control_out", true, out_properties)); } _driver->activate(); |