/*
* This file is part of the libCEC(R) library.
*
- * libCEC(R) is Copyright (C) 2011 Pulse-Eight Limited. All rights reserved.
+ * libCEC(R) is Copyright (C) 2011-2012 Pulse-Eight Limited. All rights reserved.
* libCEC(R) is an original work, containing original code.
*
* libCEC(R) is a trademark of Pulse-Eight Limited.
public:
CVLCommandHandler(CCECBusDevice *busDevice);
virtual ~CVLCommandHandler(void) {};
- virtual cec_vendor_id GetVendorId(void) { return CEC_VENDOR_PANASONIC; };
- protected:
- virtual bool HandleSetStreamPath(const cec_command &command);
+ 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;
};
};