summaryrefslogtreecommitdiffstats
path: root/ingen/client/PortModel.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-14 04:23:23 +0000
committerDavid Robillard <d@drobilla.net>2012-08-14 04:23:23 +0000
commit80fee5c311fdbdeda573ec81f59158a5fc87d0a1 (patch)
tree8e7e5a6c9bda32bbe0ae8e8c9f6ab23e44c7c181 /ingen/client/PortModel.hpp
parent058eaf65642268047a984a5c80d54a1f62a85130 (diff)
downloadingen-80fee5c311fdbdeda573ec81f59158a5fc87d0a1.tar.gz
ingen-80fee5c311fdbdeda573ec81f59158a5fc87d0a1.tar.bz2
ingen-80fee5c311fdbdeda573ec81f59158a5fc87d0a1.zip
Update for latest Raul.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4687 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'ingen/client/PortModel.hpp')
-rw-r--r--ingen/client/PortModel.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/ingen/client/PortModel.hpp b/ingen/client/PortModel.hpp
index 1a5a31be..a59de578 100644
--- a/ingen/client/PortModel.hpp
+++ b/ingen/client/PortModel.hpp
@@ -54,13 +54,13 @@ public:
bool port_property(const Raul::URI& uri) const;
- bool is_logarithmic() const { return port_property(LV2_PORT_PROPS__logarithmic); }
- bool is_enumeration() const { return port_property(LV2_CORE__enumeration); }
- bool is_integer() const { return port_property(LV2_CORE__integer); }
- bool is_toggle() const { return port_property(LV2_CORE__toggled); }
+ bool is_logarithmic() const { return port_property(Raul::URI(LV2_PORT_PROPS__logarithmic)); }
+ bool is_enumeration() const { return port_property(Raul::URI(LV2_CORE__enumeration)); }
+ bool is_integer() const { return port_property(Raul::URI(LV2_CORE__integer)); }
+ bool is_toggle() const { return port_property(Raul::URI(LV2_CORE__toggled)); }
bool is_numeric() const {
- return ObjectModel::is_a(LV2_CORE__ControlPort)
- || ObjectModel::is_a(LV2_CORE__CVPort);
+ return ObjectModel::is_a(Raul::URI(LV2_CORE__ControlPort))
+ || ObjectModel::is_a(Raul::URI(LV2_CORE__CVPort));
}
inline bool operator==(const PortModel& pm) const { return (path() == pm.path()); }