summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/ObjectModel.cpp4
-rw-r--r--src/client/PortModel.cpp10
2 files changed, 6 insertions, 8 deletions
diff --git a/src/client/ObjectModel.cpp b/src/client/ObjectModel.cpp
index 46282705..98f54cbe 100644
--- a/src/client/ObjectModel.cpp
+++ b/src/client/ObjectModel.cpp
@@ -41,9 +41,9 @@ ObjectModel::~ObjectModel()
}
bool
-ObjectModel::is_a(const Raul::URI& type) const
+ObjectModel::is_a(const URIs::Quark& type) const
{
- return has_property(_uris.rdf_type, _uris.forge.alloc_uri(type));
+ return has_property(_uris.rdf_type, type);
}
void
diff --git a/src/client/PortModel.cpp b/src/client/PortModel.cpp
index cd2ebb2a..9b534ae1 100644
--- a/src/client/PortModel.cpp
+++ b/src/client/PortModel.cpp
@@ -37,17 +37,15 @@ PortModel::on_property(const Raul::URI& uri, const Atom& value)
}
bool
-PortModel::supports(const Raul::URI& value_type) const
+PortModel::supports(const URIs::Quark& value_type) const
{
- return has_property(_uris.atom_supports,
- _uris.forge.alloc_uri(value_type));
+ return has_property(_uris.atom_supports, value_type);
}
bool
-PortModel::port_property(const Raul::URI& uri) const
+PortModel::port_property(const URIs::Quark& uri) const
{
- return has_property(_uris.lv2_portProperty,
- _uris.forge.alloc_uri(uri));
+ return has_property(_uris.lv2_portProperty, uri);
}
bool