added missing symbol

This commit is contained in:
nymea 2019-06-28 20:34:48 +02:00
parent ab62972540
commit 6b1b22fa46

View File

@ -384,6 +384,18 @@ void DevicePluginDenon::onAvrVolumeChanged(int volume)
} }
} }
void DevicePluginDenon::onAvrChannelChanged(const QByteArray &channel)
{
AvrConnection *denonConnection = static_cast<AvrConnection *>(sender());
Device *device = m_avrConnections.key(denonConnection);
if (!device)
return;
if (device->deviceClassId() == AVRX1000DeviceClassId) {
device->setStateValue(AVRX1000ChannelStateTypeId, channel);
}
}
void DevicePluginDenon::onAvrMuteChanged(bool mute) void DevicePluginDenon::onAvrMuteChanged(bool mute)
{ {
AvrConnection *denonConnection = static_cast<AvrConnection *>(sender()); AvrConnection *denonConnection = static_cast<AvrConnection *>(sender());