summaryrefslogtreecommitdiff
path: root/muse2/muse/plugin.h
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2012-12-07 07:41:24 +0000
committerTim E. Real <termtech@rogers.com>2012-12-07 07:41:24 +0000
commit0a919a7b36ee4b58e5ce3628a2d8b97bf751d2c4 (patch)
tree335fccddc229d2d0299095dfe46daae614188c79 /muse2/muse/plugin.h
parenta9cef6554f73892b6c7ff6a7a44d8e72f06aa16f (diff)
Feature: Native VST instruments support. PLEASE SEE ChangeLog.
Diffstat (limited to 'muse2/muse/plugin.h')
-rw-r--r--muse2/muse/plugin.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/muse2/muse/plugin.h b/muse2/muse/plugin.h
index 25d434ca..822bafbd 100644
--- a/muse2/muse/plugin.h
+++ b/muse2/muse/plugin.h
@@ -274,6 +274,9 @@ class PluginIBase
virtual void enable2AllControllers(bool v = true) = 0;
virtual void updateControllers() = 0;
+ virtual void activate() = 0;
+ virtual void deactivate() = 0;
+
virtual void writeConfiguration(int level, Xml& xml) = 0;
virtual bool readConfiguration(Xml& xml, bool readPreset=false) = 0;
@@ -285,6 +288,7 @@ class PluginIBase
virtual float paramOut(unsigned long i) const = 0;
virtual const char* paramName(unsigned long i) = 0;
virtual const char* paramOutName(unsigned long i) = 0;
+ // FIXME TODO: Either find a way to agnosticize these two ranges, or change them from ladspa ranges to a new MusE range class.
virtual LADSPA_PortRangeHint range(unsigned long i) = 0;
virtual LADSPA_PortRangeHint rangeOut(unsigned long i) = 0;