diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-10-03 11:31:17 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-10-03 13:13:57 -0400 |
commit | c8448cb0ddda7354d6a40054c5bd686fbdd8c5ae (patch) | |
tree | d1835cb872b0f638809c105d686915620aafe83a /libs/surfaces/mackie/device_info.h | |
parent | 53c47e0ccd663ee2118f988c0dde140b7aee4173 (diff) |
add device type to Mackie device info
Diffstat (limited to 'libs/surfaces/mackie/device_info.h')
-rw-r--r-- | libs/surfaces/mackie/device_info.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libs/surfaces/mackie/device_info.h b/libs/surfaces/mackie/device_info.h index ac24b1cea1..4bf5052bf5 100644 --- a/libs/surfaces/mackie/device_info.h +++ b/libs/surfaces/mackie/device_info.h @@ -55,11 +55,20 @@ struct StripButtonInfo { class DeviceInfo { public: + enum DeviceType { + MCU = 0x14, + MCXT = 0x15, + LC = 0x10, + LCXT = 0x11, + HUI = 0x5 + }; + DeviceInfo(); ~DeviceInfo(); int set_state (const XMLNode&, int version); + DeviceType device_type() const { return _device_type; } uint32_t strip_cnt () const; uint32_t extenders() const; uint32_t master_position() const; @@ -100,6 +109,7 @@ class DeviceInfo bool _uses_ipmidi; bool _no_handshake; bool _has_meters; + DeviceType _device_type; std::string _name; std::string _global_button_name; |