X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fdevices%2FCECBusDevice.h;h=362e86ed4c0d146e12455d75e79453b10093e003;hb=f8513317a5f4bb2d9d0843193c3c98eca19f8e8a;hp=278c0386c5619b165870d7515bb636a440849659;hpb=57f45e6c93ae094071e8a2f3f3786d4f26265a1d;p=deb_libcec.git diff --git a/src/lib/devices/CECBusDevice.h b/src/lib/devices/CECBusDevice.h index 278c038..362e86e 100644 --- a/src/lib/devices/CECBusDevice.h +++ b/src/lib/devices/CECBusDevice.h @@ -46,6 +46,7 @@ namespace CEC CCECBusDevice(CCECProcessor *processor, cec_logical_address address, uint16_t iPhysicalAddress = 0); virtual ~CCECBusDevice(void); + virtual bool MyLogicalAddressContains(cec_logical_address address) const; virtual cec_logical_address GetMyLogicalAddress(void) const; virtual uint16_t GetMyPhysicalAddress(void) const; virtual const char * GetVendorName(void) { return GetVendor().AsString(); } @@ -58,7 +59,7 @@ namespace CEC virtual cec_version GetCecVersion(bool bRefresh = true); virtual cec_menu_language & GetMenuLanguage(bool bRefresh = true); virtual cec_power_status GetPowerStatus(bool bRefresh = true); - virtual bool PollDevice(void); + virtual bool PollDevice(cec_logical_address source = CECDEVICE_UNKNOWN); virtual bool PowerOn(void); virtual bool Standby(void); @@ -78,12 +79,12 @@ namespace CEC virtual CCECProcessor *GetProcessor() const { return m_processor; } virtual CCECCommandHandler *GetHandler(void) const { return m_handler; }; - virtual bool ReportCECVersion(void); - virtual bool ReportDeckStatus(void); - virtual bool ReportMenuState(bool bActive = true); - virtual bool ReportOSDName(void); - virtual bool ReportPowerState(bool bOn = true); - virtual bool ReportVendorID(void); + virtual bool ReportCECVersion(cec_logical_address dest); + virtual bool ReportDeckStatus(cec_logical_address dest); + virtual bool ReportMenuState(cec_logical_address dest, bool bActive = true); + virtual bool ReportOSDName(cec_logical_address dest); + virtual bool ReportPowerState(cec_logical_address dest); + virtual bool ReportVendorID(cec_logical_address dest); virtual bool BroadcastActiveView(void); virtual bool BroadcastInactiveView(void);