From e77d4fcf31bfdad0b34e184e4743b4750848472c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 11 May 2012 01:29:18 +0000 Subject: Use more reasonable names for the world's interface and engine (if present). Don't require separate Configuration initialisation from World (simplify API). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4343 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/ObjectMenu.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gui/ObjectMenu.cpp') diff --git a/src/gui/ObjectMenu.cpp b/src/gui/ObjectMenu.cpp index b1d1a766..3b8ac66f 100644 --- a/src/gui/ObjectMenu.cpp +++ b/src/gui/ObjectMenu.cpp @@ -96,7 +96,7 @@ ObjectMenu::init(App& app, SharedPtr object) void ObjectMenu::on_menu_learn() { - _app->engine()->set_property(_object->path(), + _app->interface()->set_property(_object->path(), _app->uris().ingen_controlBinding, _app->uris().wildcard); } @@ -108,14 +108,14 @@ ObjectMenu::on_menu_unlearn() remove.insert(std::make_pair( _app->uris().ingen_controlBinding, _app->uris().wildcard)); - _app->engine()->delta(_object->path(), remove, Resource::Properties()); + _app->interface()->delta(_object->path(), remove, Resource::Properties()); } void ObjectMenu::on_menu_polyphonic() { if (_enable_signal) - _app->engine()->set_property( + _app->interface()->set_property( _object->path(), _app->uris().ingen_polyphonic, _app->forge().make(bool(_polyphonic_menuitem->get_active()))); @@ -134,7 +134,7 @@ ObjectMenu::property_changed(const URI& predicate, const Atom& value) void ObjectMenu::on_menu_destroy() { - _app->engine()->del(_object->path()); + _app->interface()->del(_object->path()); } void -- cgit v1.2.1