22 #ifndef PLUGINS_UARTDMX_UARTDMXPLUGIN_H_
23 #define PLUGINS_UARTDMX_UARTDMXPLUGIN_H_
29 #include "olad/Plugin.h"
30 #include "ola/plugin_id.h"
32 #include "plugins/uartdmx/UartDmxDevice.h"
44 ola_plugin_id Id()
const {
return OLA_PLUGIN_UARTDMX; }
45 std::string Name()
const {
return PLUGIN_NAME; }
46 std::string PluginPrefix()
const {
return PLUGIN_PREFIX; }
48 bool DefaultMode()
const {
return false; }
53 typedef std::vector<UartDmxDevice*> UartDeviceVector;
54 UartDeviceVector m_devices;
59 bool SetDefaultPreferences();
60 unsigned int GetBreak();
61 unsigned int GetMalf();
63 static const char PLUGIN_NAME[];
64 static const char PLUGIN_PREFIX[];
65 static const char K_DEVICE[];
66 static const char DEFAULT_DEVICE[];
73 #endif // PLUGINS_UARTDMX_UARTDMXPLUGIN_H_