summaryrefslogtreecommitdiff
path: root/plugin.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2016-03-20 09:18:53 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2016-03-20 09:18:53 +0100
commit9e6dbac98ab9cd9f92a2700d783a935fb8828d87 (patch)
treeb3b79d1e532250e939012593b48488841c692d53 /plugin.h
parent86f236a025d3d5aae32d34eefc400ef16a76e0ef (diff)
Move VST setup code to init function.
Diffstat (limited to 'plugin.h')
-rw-r--r--plugin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin.h b/plugin.h
index 0c58771..7864bb9 100644
--- a/plugin.h
+++ b/plugin.h
@@ -39,6 +39,9 @@ public:
//! Implement this to create a new plugin instance.
static Plugin* create();
+ //! Init function for setting up plugin parameters.
+ virtual void init() = 0;
+
//! Get current free-wheel mode.
virtual bool getFreeWheel() const = 0;