21 #ifndef PLUGINS_USBDMX_USBDMXPLUGIN_H_
22 #define PLUGINS_USBDMX_USBDMXPLUGIN_H_
27 #include "ola/plugin_id.h"
28 #include "olad/Plugin.h"
54 std::string
Name()
const {
return PLUGIN_NAME; }
56 ola_plugin_id
Id()
const {
return OLA_PLUGIN_USBDMX; }
60 std::auto_ptr<class PluginImplInterface> m_impl;
64 bool SetDefaultPreferences();
66 static const char PLUGIN_NAME[];
67 static const char PLUGIN_PREFIX[];
68 static const char LIBUSB_DEBUG_LEVEL_KEY[];
69 static int LIBUSB_DEFAULT_DEBUG_LEVEL;
70 static int LIBUSB_MAX_DEBUG_LEVEL;
77 #endif // PLUGINS_USBDMX_USBDMXPLUGIN_H_
std::string Name() const
Get the plugin name.
Definition: UsbDmxPlugin.h:54
std::string PluginPrefix() const
The prefix to use for storing configuration files.
Definition: UsbDmxPlugin.h:57
UsbDmxPlugin(PluginAdaptor *plugin_adaptor)
Create a new UsbDmxPlugin.
Definition: UsbDmxPlugin.cpp:47
Definition: PluginAdaptor.h:41
A plugin that uses libusb to communicate with USB devices.
Definition: UsbDmxPlugin.h:44
std::string Description() const
Definition: UsbDmxPlugin.cpp:89
The namespace containing all OLA symbols.
Definition: Credentials.cpp:44
ola_plugin_id Id() const
Get the plugin ID of this plugin.
Definition: UsbDmxPlugin.h:56