X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fimplementations%2FVLCommandHandler.h;h=d24ea3d93ad9470fa66fb0c7f16e89fab701c94e;hb=5daed059e1d5bca3ddfa0787679ef4e7b349e382;hp=c3b0fe0337b261e5caf978d23076e9b12f929835;hpb=b492c10e731625d7c000654de2372b54339f7c8d;p=deb_libcec.git diff --git a/src/lib/implementations/VLCommandHandler.h b/src/lib/implementations/VLCommandHandler.h index c3b0fe0..d24ea3d 100644 --- a/src/lib/implementations/VLCommandHandler.h +++ b/src/lib/implementations/VLCommandHandler.h @@ -40,6 +40,18 @@ namespace CEC public: CVLCommandHandler(CCECBusDevice *busDevice); virtual ~CVLCommandHandler(void) {}; - virtual bool InitHandler(void); + + bool InitHandler(void); + + bool HandleDeviceVendorCommandWithId(const cec_command &command); + bool TransmitActiveSource(const cec_logical_address iInitiator, uint16_t iPhysicalAddress); + bool TransmitPendingActiveSourceCommands(void); + + bool PowerUpEventReceived(void); + + private: + PLATFORM::CMutex m_mutex; + bool m_bActiveSourcePending; + bool m_bPowerUpEventReceived; }; };