From d1678ff80fe301569215904fcd886f257136b062 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 6 Apr 2014 06:14:04 +0000 Subject: Support port pretty names via new Jack metadata API. git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@5357 a436a847-0d15-0410-975c-d299462d15a1 --- src/PatchageModule.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/PatchageModule.hpp') diff --git a/src/PatchageModule.hpp b/src/PatchageModule.hpp index 67e80d1..1566e9c 100644 --- a/src/PatchageModule.hpp +++ b/src/PatchageModule.hpp @@ -52,7 +52,8 @@ public: void show_dialog() {} void store_location(double x, double y); - ModuleType type() const { return _type; } + ModuleType type() const { return _type; } + const std::string& name() const { return _name; } protected: bool on_event(GdkEvent* ev); -- cgit v1.2.1