21 #ifndef PLUGINS_NANOLEAF_NANOLEAFPLUGIN_H_ 22 #define PLUGINS_NANOLEAF_NANOLEAFPLUGIN_H_ 27 #include "olad/Plugin.h" 28 #include "ola/plugin_id.h" 39 std::string
Name()
const {
return PLUGIN_NAME; }
40 ola_plugin_id
Id()
const {
return OLA_PLUGIN_NANOLEAF; }
45 std::vector<class NanoleafDevice*> m_devices;
49 bool SetDefaultPreferences();
51 static const char PLUGIN_NAME[];
52 static const char PLUGIN_PREFIX[];
53 static const char CONTROLLER_KEY[];
58 #endif // PLUGINS_NANOLEAF_NANOLEAFPLUGIN_H_ std::string Name() const
Get the plugin name.
Definition: NanoleafPlugin.h:39
Definition: PluginAdaptor.h:41
std::string PluginPrefix() const
The prefix to use for storing configuration files.
Definition: NanoleafPlugin.h:42
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
std::string Description() const
Definition: NanoleafPlugin.cpp:109
ola_plugin_id Id() const
Get the plugin ID of this plugin.
Definition: NanoleafPlugin.h:40
Definition: NanoleafPlugin.h:34