aboutsummaryrefslogtreecommitdiffstats
path: root/src/s-ol.cpp
diff options
context:
space:
mode:
authorChristoph Scholtes <cschol2112@gmail.com>2018-02-22 00:47:20 +0000
committers-ol <s-ol@users.noreply.github.com>2018-02-22 12:27:48 +0000
commit3fd57784f3e0cd4dba0acdba45900d07694eabce (patch)
tree5916b6e5b6d4400419abe0b79ef34203a8fbca1b /src/s-ol.cpp
parentsmaller pannels and VC modulo gain (diff)
downloadvcvmods-3fd57784f3e0cd4dba0acdba45900d07694eabce.tar.gz
vcvmods-3fd57784f3e0cd4dba0acdba45900d07694eabce.zip
Update to Rack API v0.6.
Diffstat (limited to 'src/s-ol.cpp')
-rw-r--r--src/s-ol.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/s-ol.cpp b/src/s-ol.cpp
index 3fd0f1e..35023db 100644
--- a/src/s-ol.cpp
+++ b/src/s-ol.cpp
@@ -5,14 +5,12 @@ Plugin *plugin;
void init(rack::Plugin *p) {
plugin = p;
- p->slug = "s-ol";
-#ifdef VERSION
+ p->slug = TOSTRING(SLUG);
p->version = TOSTRING(VERSION);
-#endif
p->website = "https://github.com/s-ol/vcvmods";
p->manual = "https://github.com/s-ol/vcvmods";
- p->addModel(createModel<CircleVCOWidget>("s-ol", "CircleVCO", "Circle VCO", OSCILLATOR_TAG, VISUAL_TAG));
- p->addModel(createModel<WrapCompWidget>("s-ol", "WrapComp", "Wrapping Comparator", LOGIC_TAG));
- p->addModel(createModel<ModuloWidget>("s-ol", "Modulo", "Modulo", LOGIC_TAG));
+ p->addModel(modelCircleVCO);
+ p->addModel(modelWrapComp);
+ p->addModel(modelModulo);
}