The unified diff between revisions [84a0b39f..] and [43bb367e..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'src/lsi/plugins.c'

#
# old_revision [84a0b39f678926ca2848e2a0da300842a9cf5809]
# new_revision [43bb367e69d2a944206fd7f641ce73111e4bb780]
#
# add_file "src/lsi/plugins.c"
#  content [d1249e7348b4b02e2405e3374b7e6609ff982875]
#
============================================================
--- /dev/null	
+++ src/lsi/plugins.c	d1249e7348b4b02e2405e3374b7e6609ff982875
@@ -0,0 +1,25 @@
+/* plugins.c */
+
+/*
+ * This is the master table of plugins. Add a plugin here
+ * for it to take effect.
+ */
+
+#include "plugin.h"
+
+#include "midi.h"
+#include "dmx.h"
+#include "beatdetect.h"
+#include "mouse.h"
+#include "cmdsocket.h"
+
+struct plugin plugins_table[] = {
+	{"midi", midi_init, midi_close, 0},
+	{"dmx", dmx_init, dmx_close, 0},
+	{"beatdetect", beatdetect_init, beatdetect_close, 0},
+	{"mouse", mouse_init, mouse_close, 0},
+	{"cmdsocket", cmdsocket_init, cmdsocket_close, 0},
+};
+
+int nplugins = (sizeof(plugins_table) / sizeof(struct plugin));
+