X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fdevices%2FCECPlaybackDevice.h;h=2fe42c3032a6b999cedc7d84810e7feee917d6c9;hb=5ce88432714dbc3ff38f93227d84da5ff88b6781;hp=a188489efc9ba1a53512ffdb7f2dbee5fda5ad0c;hpb=2f37cb68d7f3c71c38065e0e830c564a01b6caf3;p=deb_libcec.git diff --git a/src/lib/devices/CECPlaybackDevice.h b/src/lib/devices/CECPlaybackDevice.h index a188489..2fe42c3 100644 --- a/src/lib/devices/CECPlaybackDevice.h +++ b/src/lib/devices/CECPlaybackDevice.h @@ -2,7 +2,7 @@ /* * This file is part of the libCEC(R) library. * - * libCEC(R) is Copyright (C) 2011 Pulse-Eight Limited. All rights reserved. + * libCEC(R) is Copyright (C) 2011-2013 Pulse-Eight Limited. All rights reserved. * libCEC(R) is an original work, containing original code. * * libCEC(R) is a trademark of Pulse-Eight Limited. @@ -38,16 +38,18 @@ namespace CEC class CCECPlaybackDevice : public CCECBusDevice { public: - CCECPlaybackDevice(CCECProcessor *processor, cec_logical_address address, uint16_t iPhysicalAddress = 0); + CCECPlaybackDevice(CCECProcessor *processor, cec_logical_address address, uint16_t iPhysicalAddress = CEC_INVALID_PHYSICAL_ADDRESS); virtual ~CCECPlaybackDevice(void) {}; - virtual cec_deck_info GetDeckStatus(void); - virtual cec_deck_control_mode GetDeckControlMode(void); + cec_deck_info GetDeckStatus(const cec_logical_address initiator); + cec_deck_control_mode GetDeckControlMode(const cec_logical_address initiator); - virtual void SetDeckStatus(cec_deck_info deckStatus); - virtual void SetDeckControlMode(cec_deck_control_mode mode); + void SetDeckStatus(cec_deck_info deckStatus); + void SetDeckControlMode(cec_deck_control_mode mode); - virtual bool TransmitDeckStatus(cec_logical_address dest); + bool TransmitDeckStatus(cec_logical_address dest, bool bIsReply); + + virtual void ResetDeviceStatus(void); protected: cec_deck_info m_deckStatus;