21 #ifndef PLUGINS_STAGEPROFI_STAGEPROFIPLUGIN_H_
22 #define PLUGINS_STAGEPROFI_STAGEPROFIPLUGIN_H_
27 #include "olad/Plugin.h"
28 #include "ola/network/Socket.h"
29 #include "ola/plugin_id.h"
30 #include "plugins/stageprofi/StageProfiDetector.h"
34 namespace stageprofi {
36 class StageProfiDevice;
41 :
Plugin(plugin_adaptor) {}
44 std::string
Name()
const {
return PLUGIN_NAME; }
45 ola_plugin_id
Id()
const {
return OLA_PLUGIN_STAGEPROFI; }
50 typedef std::map<std::string, StageProfiDevice*> DeviceMap;
53 std::auto_ptr<class StageProfiDetector> m_detector;
57 bool SetDefaultPreferences();
58 void NewWidget(
const std::string &widget_path,
61 void DeviceRemoved(std::string widget_path);
64 static const char STAGEPROFI_DEVICE_PATH[];
65 static const char STAGEPROFI_DEVICE_NAME[];
66 static const char PLUGIN_NAME[];
67 static const char PLUGIN_PREFIX[];
68 static const char DEVICE_KEY[];
73 #endif // PLUGINS_STAGEPROFI_STAGEPROFIPLUGIN_H_