21 #ifndef PLUGINS_USBDMX_USBDMXPLUGIN_H_ 22 #define PLUGINS_USBDMX_USBDMXPLUGIN_H_ 28 #include "ola/plugin_id.h" 29 #include "olad/Plugin.h" 59 std::string
Name()
const {
return PLUGIN_NAME; }
61 ola_plugin_id
Id()
const {
return OLA_PLUGIN_USBDMX; }
65 std::set<ola_plugin_id>* conflicting_plugins)
const;
68 std::auto_ptr<class PluginImplInterface> m_impl;
72 bool SetDefaultPreferences();
74 static const char PLUGIN_NAME[];
75 static const char PLUGIN_PREFIX[];
76 static const char LIBUSB_DEBUG_LEVEL_KEY[];
77 static int LIBUSB_DEFAULT_DEBUG_LEVEL;
78 static int LIBUSB_MAX_DEBUG_LEVEL;
85 #endif // PLUGINS_USBDMX_USBDMXPLUGIN_H_
UsbDmxPlugin(PluginAdaptor *plugin_adaptor)
Create a new UsbDmxPlugin.
Definition: UsbDmxPlugin.cpp:49
Definition: PluginAdaptor.h:41
ola_plugin_id Id() const
Get the plugin ID of this plugin.
Definition: UsbDmxPlugin.h:61
A plugin that uses libusb to communicate with USB devices.
Definition: UsbDmxPlugin.h:49
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
std::string Name() const
Get the plugin name.
Definition: UsbDmxPlugin.h:59
std::string Description() const
Definition: UsbDmxPlugin.cpp:91
std::string PluginPrefix() const
The prefix to use for storing configuration files.
Definition: UsbDmxPlugin.h:62