diff options
author | David Robillard <d@drobilla.net> | 2012-03-19 20:16:46 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-03-19 20:16:46 +0000 |
commit | 254b434f0a79fea54bd963e8ff2e845a5b0cd3a6 (patch) | |
tree | ddf849fc5b64d1096846c28c1f1a742f54c3adff /src/shared/ResourceImpl.cpp | |
parent | bc3afd8380d59c750c8f8e9bf1ed1b8d4a6826e9 (diff) | |
download | ingen-254b434f0a79fea54bd963e8ff2e845a5b0cd3a6.tar.gz ingen-254b434f0a79fea54bd963e8ff2e845a5b0cd3a6.tar.bz2 ingen-254b434f0a79fea54bd963e8ff2e845a5b0cd3a6.zip |
Partially functioning communication between Ingen LV2 plugin and UI.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4078 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/shared/ResourceImpl.cpp')
-rw-r--r-- | src/shared/ResourceImpl.cpp | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/src/shared/ResourceImpl.cpp b/src/shared/ResourceImpl.cpp index de3eae17..6858fab9 100644 --- a/src/shared/ResourceImpl.cpp +++ b/src/shared/ResourceImpl.cpp @@ -121,8 +121,8 @@ ResourceImpl::type(const URIs& uris, patch = node = port = is_output = false; for (iterator i = types_range.first; i != types_range.second; ++i) { const Atom& atom = i->second; - if (atom.type() != Atom::URI) { - warn << "[ResourceImpl] Non-URI type " << atom << endl; + if (atom.type() != uris.forge.URI) { + warn << "[ResourceImpl] Non-URI type " << uris.forge.str(atom) << endl; continue; } @@ -195,17 +195,6 @@ ResourceImpl::remove_properties(const Properties& p) } } -void -ResourceImpl::dump(std::ostream& os) const -{ - typedef Resource::Properties::const_iterator iterator; - os << _uri << " [" << endl; - for (iterator i = _properties.begin(); i != _properties.end(); ++i) { - os << "\t" << i->first << " " << i->second << " ;" << endl; - } - os << "]" << endl; -} - Resource::Properties ResourceImpl::properties(Resource::Graph ctx) const { |