From c8448cb0ddda7354d6a40054c5bd686fbdd8c5ae Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 3 Oct 2015 11:31:17 -0400 Subject: add device type to Mackie device info --- libs/surfaces/mackie/device_info.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libs/surfaces/mackie/device_info.h') 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; -- cgit v1.2.3