diff --git a/libs/surfaces/mackie/device_info.cc b/libs/surfaces/mackie/device_info.cc index d4de57052b..f8ced52c89 100644 --- a/libs/surfaces/mackie/device_info.cc +++ b/libs/surfaces/mackie/device_info.cc @@ -61,6 +61,7 @@ DeviceInfo::DeviceInfo() , _no_handshake (false) , _is_qcon(false) , _is_platformMp(false) + , _is_proG2(false) , _has_qcon_second_lcd(false) , _has_qcon_master_meters(false) , _has_meters (true) @@ -346,6 +347,12 @@ DeviceInfo::set_state (const XMLNode& node, int /* version */) _is_platformMp = false; } + if ((child = node.child ("IsProG2")) != 0) { + child->get_property ("value", _is_proG2); + } else { + _is_proG2 = false; + } + if ((child = node.child ("HasQConSecondLCD")) != 0) { child->get_property ("value", _has_qcon_second_lcd); } else { @@ -511,6 +518,11 @@ bool DeviceInfo::is_platformMp () const return _is_platformMp; } +bool DeviceInfo::is_proG2 () const +{ + return _is_proG2; +} + bool DeviceInfo::has_qcon_second_lcd () const { diff --git a/libs/surfaces/mackie/device_info.h b/libs/surfaces/mackie/device_info.h index d2f0b02da5..745344b59d 100644 --- a/libs/surfaces/mackie/device_info.h +++ b/libs/surfaces/mackie/device_info.h @@ -82,6 +82,7 @@ class DeviceInfo bool no_handshake() const; bool is_qcon() const; bool is_platformMp() const; + bool is_proG2() const; bool has_qcon_second_lcd() const; bool has_qcon_master_meters() const; bool has_meters() const; @@ -116,6 +117,7 @@ class DeviceInfo bool _no_handshake; bool _is_qcon; bool _is_platformMp; + bool _is_proG2; bool _has_qcon_second_lcd; bool _has_qcon_master_meters; bool _has_meters; diff --git a/share/mcp/qcon_g2+g2ex.device b/share/mcp/qcon_g2+g2ex.device index 32cfb1ec47..1954e07267 100644 --- a/share/mcp/qcon_g2+g2ex.device +++ b/share/mcp/qcon_g2+g2ex.device @@ -14,5 +14,6 @@ + diff --git a/share/mcp/qcon_g2.device b/share/mcp/qcon_g2.device index 9a4015a38e..8a7f60485e 100644 --- a/share/mcp/qcon_g2.device +++ b/share/mcp/qcon_g2.device @@ -14,5 +14,6 @@ + diff --git a/share/mcp/qcon_g2ex+g2.device b/share/mcp/qcon_g2ex+g2.device index 248b7e36a7..d5fc8e8096 100644 --- a/share/mcp/qcon_g2ex+g2.device +++ b/share/mcp/qcon_g2ex+g2.device @@ -14,5 +14,6 @@ +