aboutsummaryrefslogtreecommitdiffstats
path: root/src/s-ol.cpp
diff options
context:
space:
mode:
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);
}