summaryrefslogtreecommitdiff
path: root/plugintest.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2019-04-17 19:51:34 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2019-04-17 19:51:34 +0200
commitfb8588d8a0013b8da78b796f84ddcccf2bc9238e (patch)
tree0333d12df5a9e813904e4f5b4a42de7d4dba7443 /plugintest.cc
parent34bfc5046bd297311a38dace8914c51905ca9d2e (diff)
Added ttlgen dynamic ttl manifest generator for LV2 plugins.
Diffstat (limited to 'plugintest.cc')
-rw-r--r--plugintest.cc14
1 files changed, 12 insertions, 2 deletions
diff --git a/plugintest.cc b/plugintest.cc
index b485400..70bb9ea 100644
--- a/plugintest.cc
+++ b/plugintest.cc
@@ -37,7 +37,7 @@
#ifdef LV2
// Entry point for lv2 plugin instantiation.
-PluginLV2* createEffectInstance()
+PG_EXPORT PluginLV2* createEffectInstance()
{
return new PluginTest();
}
@@ -45,7 +45,7 @@ PluginLV2* createEffectInstance()
#ifdef VST
// Entry point for vst plugin instantiation.
-AudioEffect* createEffectInstance(audioMasterCallback audioMaster)
+PG_EXPORT AudioEffect* createEffectInstance(audioMasterCallback audioMaster)
{
return new PluginTest(audioMaster);
}
@@ -112,6 +112,11 @@ std::string PluginTest::getEffectName()
return "Test plugin";
}
+std::string PluginTest::getURI()
+{
+ return "http://example.com/plugintest";
+}
+
std::string PluginTest::getVendorString()
{
return "Test vendor";
@@ -122,6 +127,11 @@ std::string PluginTest::getProductString()
return "Test product";
}
+std::string PluginTest::getHomepage()
+{
+ return "https://www.example.com/pluginwebsite";
+}
+
PluginCategory PluginTest::getPluginCategory()
{
return PluginCategory::Synth;