summaryrefslogtreecommitdiff
path: root/plugintest.cc
diff options
context:
space:
mode:
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;