summaryrefslogtreecommitdiff
path: root/plugin.h
diff options
context:
space:
mode:
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.