diff options
Diffstat (limited to 'src/client/PortModel.hpp')
-rw-r--r-- | src/client/PortModel.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/PortModel.hpp b/src/client/PortModel.hpp index 133a2794..fd4a679e 100644 --- a/src/client/PortModel.hpp +++ b/src/client/PortModel.hpp @@ -56,7 +56,8 @@ public: bool is_integer() const { return port_property("http://lv2plug.in/ns/lv2core#integer"); } bool is_toggle() const { return port_property("http://lv2plug.in/ns/lv2core#toggled"); } - bool has_context(const Raul::URI& context); + bool has_context(const Raul::URI& context) const; + inline bool operator==(const PortModel& pm) const { return (path() == pm.path()); } |