21 #ifndef PLUGINS_KARATE_KARATEPLUGIN_H_
22 #define PLUGINS_KARATE_KARATEPLUGIN_H_
26 #include "olad/Plugin.h"
27 #include "ola/plugin_id.h"
41 std::string
Name()
const {
return PLUGIN_NAME; }
43 ola_plugin_id
Id()
const {
return OLA_PLUGIN_KARATE; }
49 bool SetDefaultPreferences();
51 typedef std::vector<KarateDevice*> DeviceList;
54 static const char PLUGIN_NAME[];
55 static const char PLUGIN_PREFIX[];
56 static const char KARATE_DEVICE_PATH[];
57 static const char KARATE_DEVICE_NAME[];
58 static const char DEVICE_KEY[];
64 #endif // PLUGINS_KARATE_KARATEPLUGIN_H_
Definition: KaratePlugin.h:35
std::string PluginPrefix() const
The prefix to use for storing configuration files.
Definition: KaratePlugin.h:44
Definition: PluginAdaptor.h:41
std::string Name() const
Get the plugin name.
Definition: KaratePlugin.h:41
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
ola_plugin_id Id() const
Get the plugin ID of this plugin.
Definition: KaratePlugin.h:43
std::string Description() const
Return the description for this plugin.
Definition: KaratePlugin.cpp:106