only send device update info when it is extractable

This commit is contained in:
John
2022-12-18 09:45:56 +01:00
parent 240af58b4c
commit 5d3c6f097e
5 changed files with 18 additions and 6 deletions
+5
View File
@@ -205,6 +205,11 @@ class Device {
*/
bool isEnhancedProto() const { return m_enhancedProto; }
/**
* @return whether the device supports the ebusd enhanced protocol and supports querying extra infos.
*/
bool supportsEnhancedInfos() const { return m_enhancedProto && m_extraFatures & 0x01; }
/**
* Set the @a DeviceListener.
* @param listener the @a DeviceListener.