summaryrefslogtreecommitdiffstats
path: root/src/PatchageModule.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-04-06 06:14:04 +0000
committerDavid Robillard <d@drobilla.net>2014-04-06 06:14:04 +0000
commitd1678ff80fe301569215904fcd886f257136b062 (patch)
tree114aecfbd5a9697d76ccd3941103004b5722534a /src/PatchageModule.hpp
parent96442dec20443f41ba75e599fe89eb5dd338919a (diff)
downloadpatchage-d1678ff80fe301569215904fcd886f257136b062.tar.gz
patchage-d1678ff80fe301569215904fcd886f257136b062.tar.bz2
patchage-d1678ff80fe301569215904fcd886f257136b062.zip
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
Diffstat (limited to 'src/PatchageModule.hpp')
-rw-r--r--src/PatchageModule.hpp3
1 files changed, 2 insertions, 1 deletions
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);