From f74b7279cf959a3b8f943e89db350af432ae78a8 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 12 Apr 2012 23:47:14 +0000 Subject: Use URI defines from LV2 headers where possible. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4175 a436a847-0d15-0410-975c-d299462d15a1 --- src/client/PortModel.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/client') diff --git a/src/client/PortModel.cpp b/src/client/PortModel.cpp index 8cdac7af..2e503100 100644 --- a/src/client/PortModel.cpp +++ b/src/client/PortModel.cpp @@ -60,15 +60,5 @@ PortModel::set(SharedPtr model) ObjectModel::set(model); } -bool -PortModel::has_context(const Raul::URI& uri) const -{ - const Raul::Atom& context = get_property(_uris.ctx_context); - if (uri == _uris.ctx_audioContext && !context.is_valid()) - return true; - else - return context == _uris.forge.alloc_uri(uri.str()); -} - } // namespace Client } // namespace Ingen -- cgit v1.2.1