summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-12 23:47:14 +0000
committerDavid Robillard <d@drobilla.net>2012-04-12 23:47:14 +0000
commitf74b7279cf959a3b8f943e89db350af432ae78a8 (patch)
tree607d19ca9015dd7c02b5b9d00b0ea7c4becb1fe4 /src/client
parentb9ee86cf97f9ba8f6139c83f57b8d5848e7f90e4 (diff)
downloadingen-f74b7279cf959a3b8f943e89db350af432ae78a8.tar.gz
ingen-f74b7279cf959a3b8f943e89db350af432ae78a8.tar.bz2
ingen-f74b7279cf959a3b8f943e89db350af432ae78a8.zip
Use URI defines from LV2 headers where possible.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4175 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client')
-rw-r--r--src/client/PortModel.cpp10
1 files changed, 0 insertions, 10 deletions
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<ObjectModel> 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