The unified diff between revisions [84a0b39f..] and [04aa5b48..] 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 [04aa5b488cdcfccafef4ba9d99749b84e1b76083] # # add_file "src/lsi/plugins.c" # content [0f20069da015e07f58b0828acdc3644a197dc794] # ============================================================ --- /dev/null +++ src/lsi/plugins.c 0f20069da015e07f58b0828acdc3644a197dc794 @@ -0,0 +1,23 @@ +/* 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" + +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}, +}; + +int nplugins = (sizeof(plugins_table) / sizeof(struct plugin)); +