summaryrefslogtreecommitdiff
path: root/plugin.h
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 /plugin.h
parent34bfc5046bd297311a38dace8914c51905ca9d2e (diff)
Added ttlgen dynamic ttl manifest generator for LV2 plugins.
Diffstat (limited to 'plugin.h')
-rw-r--r--plugin.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/plugin.h b/plugin.h
index e1d8d69..4c22943 100644
--- a/plugin.h
+++ b/plugin.h
@@ -31,6 +31,13 @@
#include <cstdlib>
+
+#if defined(WIN32)
+#define PG_EXPORT extern "C" __declspec(dllexport)
+#else
+#define PG_EXPORT extern "C" __attribute__((visibility("default")))
+#endif
+
class MidiEvent;
//! Plugin categories.
@@ -127,9 +134,11 @@ public:
virtual std::string getId() = 0;
// Functions used to set plugin information.
+ virtual std::string getURI() = 0;
virtual std::string getEffectName() = 0;
virtual std::string getVendorString() = 0;
virtual std::string getProductString() = 0;
+ virtual std::string getHomepage() = 0;
virtual PluginCategory getPluginCategory() = 0;
//! Process callback.