21 #ifndef PLUGINS_SPI_SPIPLUGIN_H_
22 #define PLUGINS_SPI_SPIPLUGIN_H_
26 #include "olad/Plugin.h"
27 #include "ola/plugin_id.h"
36 :
Plugin(plugin_adaptor) {}
38 std::string Name()
const {
return PLUGIN_NAME; }
39 std::string Description()
const;
40 ola_plugin_id Id()
const {
return OLA_PLUGIN_SPI; }
41 std::string PluginPrefix()
const {
return PLUGIN_PREFIX; }
44 std::vector<class SPIDevice*> m_devices;
48 bool SetDefaultPreferences();
50 static const char DEFAULT_BASE_UID[];
51 static const char DEFAULT_SPI_DEVICE_PREFIX[];
52 static const char PLUGIN_NAME[];
53 static const char PLUGIN_PREFIX[];
54 static const char SPI_BASE_UID_KEY[];
55 static const char SPI_DEVICE_PREFIX_KEY[];
60 #endif // PLUGINS_SPI_SPIPLUGIN_H_