diff --git a/src/lib/ebus/device.h b/src/lib/ebus/device.h index d475c1fd..b9688a8d 100644 --- a/src/lib/ebus/device.h +++ b/src/lib/ebus/device.h @@ -157,6 +157,12 @@ public: */ bool isValid(); + /** + * Return whether to allow read access to the device only. + * @return whether to allow read access to the device only. + */ + bool isReadOnly() const { return m_readOnly; } + protected: /** * Check if the device is still available and close it if not.