summaryrefslogtreecommitdiff
path: root/muse2/muse/plugin.h
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2011-04-01 22:26:23 +0000
committerTim E. Real <termtech@rogers.com>2011-04-01 22:26:23 +0000
commitf08685a55d5090a2a22cb2808e788912cb739b99 (patch)
tree3c0a64b911b5a35ceeb2740eff90c0efa427b805 /muse2/muse/plugin.h
parent0fcb500389e91c0692f2b5fa9c95684b3416e254 (diff)
Fixed custom LADSPA DSSI GUI support. Tested OK with FLAM.
Diffstat (limited to 'muse2/muse/plugin.h')
-rw-r--r--muse2/muse/plugin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/muse2/muse/plugin.h b/muse2/muse/plugin.h
index 8f31e573..f138737c 100644
--- a/muse2/muse/plugin.h
+++ b/muse2/muse/plugin.h
@@ -106,6 +106,7 @@ class Plugin {
QString lib(bool complete = true) /*const*/ { return complete ? fi.completeBaseName() : fi.baseName(); } // ddskrjo const
QString dirPath(bool complete = true) const { return complete ? fi.absolutePath() : fi.path(); }
QString filePath() const { return fi.filePath(); }
+ QString fileName() const { return fi.fileName(); }
int references() const { return _references; }
int incReferences(int);
int instNo() { return _instNo++; }
@@ -290,6 +291,7 @@ class PluginIBase
virtual QString name() const = 0;
virtual QString lib() const = 0;
virtual QString dirPath() const = 0;
+ virtual QString fileName() const = 0;
virtual AudioTrack* track() = 0;
@@ -434,6 +436,7 @@ class PluginI : public PluginIBase {
CtrlValueType valueType() const;
QString lib() const { return _plugin->lib(); }
QString dirPath() const { return _plugin->dirPath(); }
+ QString fileName() const { return _plugin->fileName(); }
#ifdef OSC_SUPPORT
OscEffectIF& oscIF() { return _oscif; }