aboutsummaryrefslogtreecommitdiff
path: root/Src/Plugins/SDK/plLoadEx/w5s.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Plugins/SDK/plLoadEx/w5s.cpp')
-rw-r--r--Src/Plugins/SDK/plLoadEx/w5s.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/Src/Plugins/SDK/plLoadEx/w5s.cpp b/Src/Plugins/SDK/plLoadEx/w5s.cpp
new file mode 100644
index 00000000..4d94aa5a
--- /dev/null
+++ b/Src/Plugins/SDK/plLoadEx/w5s.cpp
@@ -0,0 +1,9 @@
+#include "ExComponent.h" // the component we're registering is defined here
+
+ExComponent exComponent; // our component
+
+// Winamp GetProcAddress()'s this after loading your w5s file
+extern "C" __declspec(dllexport) ifc_wa5component *GetWinamp5SystemComponent()
+{
+ return &exComponent;
+}