From ae9644045846190f13dda828e2f75115f2c8601f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 22 Nov 2008 17:29:36 +0000 Subject: Add status bar to display information about objects on mouse hover. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1769 a436a847-0d15-0410-975c-d299462d15a1 --- src/client/PluginModel.cpp | 4 ++-- src/client/PluginModel.hpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/client') diff --git a/src/client/PluginModel.cpp b/src/client/PluginModel.cpp index 6b7ec4c8..7198235a 100644 --- a/src/client/PluginModel.cpp +++ b/src/client/PluginModel.cpp @@ -51,7 +51,7 @@ PluginModel::PluginModel(const string& uri, const string& type_uri) string -PluginModel::default_node_symbol() +PluginModel::default_node_symbol() const { return Raul::Path::nameify(symbol()); } @@ -79,7 +79,7 @@ PluginModel::human_name() string -PluginModel::port_human_name(uint32_t index) +PluginModel::port_human_name(uint32_t index) const { #ifdef HAVE_SLV2 if (_slv2_plugin) { diff --git a/src/client/PluginModel.hpp b/src/client/PluginModel.hpp index 53bf668c..c59da63b 100644 --- a/src/client/PluginModel.hpp +++ b/src/client/PluginModel.hpp @@ -57,9 +57,9 @@ public: const string symbol() const { return string_property("lv2:symbol"); } const string name() const { return string_property("doap:name"); } - string default_node_symbol(); + string default_node_symbol() const; string human_name(); - string port_human_name(uint32_t index); + string port_human_name(uint32_t index) const; #ifdef HAVE_SLV2 static SLV2World slv2_world() { return _slv2_world; } -- cgit v1.2.1