/*
* This file is part of the libCEC(R) library.
*
- * libCEC(R) is Copyright (C) 2011-2012 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.
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);
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;
};
};