summaryrefslogtreecommitdiff
path: root/muse2/muse/plugin.h
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2011-04-01 05:05:34 +0000
committerTim E. Real <termtech@rogers.com>2011-04-01 05:05:34 +0000
commit0fcb500389e91c0692f2b5fa9c95684b3416e254 (patch)
tree0c6ffdf3a32cc75ec26f4dc5660a247afaceda11 /muse2/muse/plugin.h
parent1ba4f03ff7fea99fc7d215837f8a4f6d8f27c859 (diff)
Initial support for custom LADSPA DSSI GUIs, such as those generated by FLAM.
Diffstat (limited to 'muse2/muse/plugin.h')
-rw-r--r--muse2/muse/plugin.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/muse2/muse/plugin.h b/muse2/muse/plugin.h
index 031eb566..8f31e573 100644
--- a/muse2/muse/plugin.h
+++ b/muse2/muse/plugin.h
@@ -288,22 +288,25 @@ class PluginIBase
virtual int id() = 0;
virtual QString pluginLabel() const = 0;
virtual QString name() const = 0;
+ virtual QString lib() const = 0;
+ virtual QString dirPath() const = 0;
virtual AudioTrack* track() = 0;
- virtual void enableController(int /*i*/, bool v = true) = 0;
+ virtual void enableController(int /*i*/, bool /*v*/ = true) = 0;
virtual bool controllerEnabled(int /*i*/) const = 0;
virtual bool controllerEnabled2(int /*i*/) const = 0;
virtual void updateControllers() = 0;
virtual void writeConfiguration(int /*level*/, Xml& /*xml*/) = 0;
- virtual bool readConfiguration(Xml& /*xml*/, bool readPreset=false) = 0;
+ virtual bool readConfiguration(Xml& /*xml*/, bool /*readPreset*/=false) = 0;
virtual int parameters() const = 0;
virtual void setParam(int /*i*/, double /*val*/) = 0;
virtual double param(int /*i*/) const = 0;
virtual const char* paramName(int /*i*/) = 0;
virtual LADSPA_PortRangeHint range(int /*i*/) = 0;
+ QString dssi_ui_filename() const;
};
//---------------------------------------------------------
@@ -430,6 +433,7 @@ class PluginI : public PluginIBase {
QString name() const { return _name; }
CtrlValueType valueType() const;
QString lib() const { return _plugin->lib(); }
+ QString dirPath() const { return _plugin->dirPath(); }
#ifdef OSC_SUPPORT
OscEffectIF& oscIF() { return _oscif; }
@@ -502,6 +506,8 @@ class Pipeline : public std::vector<PluginI*> {
QString name(int idx) const;
void showGui(int, bool);
bool isDssiPlugin(int) const;
+ //QString dssi_ui_filename(int) const;
+ bool has_dssi_ui(int idx) const;
void showNativeGui(int, bool);
void deleteGui(int idx);
void deleteAllGuis();