added missing symbol

master
nymea 2019-06-28 20:34:48 +02:00
parent ab62972540
commit 6b1b22fa46
1 changed files with 12 additions and 0 deletions

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)
{
AvrConnection *denonConnection = static_cast<AvrConnection *>(sender());