X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fimplementations%2FCECCommandHandler.h;h=0da4dede4cc27b9748b99497b2af9fbd85344595;hb=f077e8ede7d2c288ff1d9a358eb0c7cceac5fddc;hp=7129b400793ed473769f9b36b4c6be24799d16c4;hpb=1b5cc4a2517ee8e6cebb44063ea03eb4128b4ab1;p=deb_libcec.git diff --git a/src/lib/implementations/CECCommandHandler.h b/src/lib/implementations/CECCommandHandler.h index 7129b40..0da4ded 100644 --- a/src/lib/implementations/CECCommandHandler.h +++ b/src/lib/implementations/CECCommandHandler.h @@ -44,6 +44,7 @@ namespace CEC virtual ~CCECCommandHandler(void) {}; virtual bool HandleCommand(const cec_command &command); + virtual cec_vendor_id GetVendorId(void) { return CEC_VENDOR_UNKNOWN; }; protected: bool HandleDeviceVendorCommandWithId(const cec_command &command); @@ -62,6 +63,8 @@ namespace CEC bool HandleUserControlRelease(const cec_command &command); void UnhandledCommand(const cec_command &command); + CCECBusDevice *GetDevice(cec_logical_address iLogicalAddress) const; + CCECBusDevice *GetThisDevice(void) const; CCECBusDevice *m_busDevice; }; };