X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fdevices%2FCECRecordingDevice.cpp;h=702f7a47b40175261c02c01ef6cb515898759cb0;hb=03ae897d74d37f6fdb35e2bb937e851cee61793b;hp=cda372dd5192c3ba442eec1836a117d0306803f5;hpb=88e5de6f3e5f0f0ff13f47490c364aa68b5e773c;p=deb_libcec.git diff --git a/src/lib/devices/CECRecordingDevice.cpp b/src/lib/devices/CECRecordingDevice.cpp index cda372d..702f7a4 100644 --- a/src/lib/devices/CECRecordingDevice.cpp +++ b/src/lib/devices/CECRecordingDevice.cpp @@ -35,7 +35,34 @@ using namespace CEC; CCECRecordingDevice::CCECRecordingDevice(CCECProcessor *processor, cec_logical_address address, uint16_t iPhysicalAddress /* = 0 */) : - CCECPlaybackDevice(processor, address, iPhysicalAddress) + CCECBusDevice(processor, address, iPhysicalAddress), + m_playbackDevice(processor, address, iPhysicalAddress), + m_tuner(processor, address, iPhysicalAddress) { - m_type = CEC_DEVICE_TYPE_RECORDING_DEVICE; + m_type = CEC_DEVICE_TYPE_RECORDING_DEVICE; +} + +cec_deck_info CCECRecordingDevice::GetDeckStatus(void) +{ + return m_playbackDevice.GetDeckStatus(); +} + +cec_deck_control_mode CCECRecordingDevice::GetDeckControlMode(void) +{ + return m_playbackDevice.GetDeckControlMode(); +} + +void CCECRecordingDevice::SetDeckStatus(cec_deck_info deckStatus) +{ + m_playbackDevice.SetDeckStatus(deckStatus); +} + +void CCECRecordingDevice::SetDeckControlMode(cec_deck_control_mode mode) +{ + m_playbackDevice.SetDeckControlMode(mode); +} + +bool CCECRecordingDevice::TransmitDeckStatus(cec_logical_address dest) +{ + return m_playbackDevice.TransmitDeckStatus(dest); }