X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fimplementations%2FVLCommandHandler.h;h=3ad80b49150b53749bc61d0f306f972631a5a00c;hb=ebcedb051be7d8e1e19ecd3f0aa164baae252400;hp=6f417e8e14f415774804658ec9ca2fc016f8a25d;hpb=9ee5e8fd5b9ac7f49cd95dbed64abb1cc64558eb;p=deb_libcec.git diff --git a/src/lib/implementations/VLCommandHandler.h b/src/lib/implementations/VLCommandHandler.h index 6f417e8..3ad80b4 100644 --- a/src/lib/implementations/VLCommandHandler.h +++ b/src/lib/implementations/VLCommandHandler.h @@ -38,7 +38,11 @@ namespace CEC class CVLCommandHandler : public CCECCommandHandler { public: - CVLCommandHandler(CCECBusDevice *busDevice); + CVLCommandHandler(CCECBusDevice *busDevice, + int32_t iTransmitTimeout = CEC_DEFAULT_TRANSMIT_TIMEOUT, + int32_t iTransmitWait = CEC_DEFAULT_TRANSMIT_WAIT, + int8_t iTransmitRetries = CEC_DEFAULT_TRANSMIT_RETRIES, + int64_t iActiveSourcePending = 0); virtual ~CVLCommandHandler(void) {}; bool InitHandler(void); @@ -54,8 +58,13 @@ namespace CEC bool SourceSwitchAllowed(void); - private: + protected: + void VendorPreActivateSourceHook(void); + void SendVendorCommandCapabilities(const cec_logical_address initiator, const cec_logical_address destination); + int HandleReportPowerStatus(const cec_command &command); + PLATFORM::CMutex m_mutex; uint64_t m_iPowerUpEventReceived; + bool m_bCapabilitiesSent; }; };