cec: delay the 'active source' command for panasonic, until the vendor command that...
[deb_libcec.git] / src / lib / implementations / VLCommandHandler.h
index c3b0fe0337b261e5caf978d23076e9b12f929835..18b75070d9531a3ce69d7500955d5eee1d2513c2 100644 (file)
@@ -41,5 +41,14 @@ namespace CEC
     CVLCommandHandler(CCECBusDevice *busDevice);
     virtual ~CVLCommandHandler(void) {};
     virtual bool InitHandler(void);
+
+    virtual bool HandleDeviceVendorCommandWithId(const cec_command &command);
+    virtual bool TransmitActiveSource(const cec_logical_address iInitiator, uint16_t iPhysicalAddress);
+    virtual bool TransmitPendingActiveSourceCommands(void);
+
+  private:
+    PLATFORM::CMutex m_mutex;
+    bool             m_bActiveSourcePending;
+    bool             m_bPowerUpEventReceived;
   };
 };