cec: stop replying to power status requests from LG when the power state is 'on'
[deb_libcec.git] / src / lib / implementations / SLCommandHandler.h
index 4095b0e700a62262ddebf94d9415c7692b071c43..7ba78ae7417be749e7e960b253582884d3f3626b 100644 (file)
@@ -41,14 +41,12 @@ namespace CEC
     CSLCommandHandler(CCECBusDevice *busDevice);
     virtual ~CSLCommandHandler(void) {};
 
-    virtual void HandlePoll(const cec_logical_address iInitiator, const cec_logical_address iDestination);
-    virtual bool HandleReceiveFailed(void);
-
     virtual bool InitHandler(void);
     virtual bool ActivateSource(void);
 
   protected:
     virtual bool HandleActiveSource(const cec_command &command);
+    virtual bool HandleDeviceVendorId(const cec_command &command);
     virtual bool HandleFeatureAbort(const cec_command &command);
     virtual bool HandleGivePhysicalAddress(const cec_command &command);
     virtual bool HandleVendorCommand(const cec_command &command);
@@ -62,9 +60,9 @@ namespace CEC
     virtual void HandleVendorCommandSLConnect(const cec_command &command);
     virtual void TransmitVendorCommand05(const cec_logical_address iSource, const cec_logical_address iDestination);
 
-    virtual void SetLGDeckStatus(void);
+    virtual void SetDeckStatus(cec_deck_info deckStatus);
+    virtual bool HandleGiveDevicePowerStatus(const cec_command &command);
 
-    bool    m_bAwaitingReceiveFailed;
     bool    m_bSLEnabled;
     bool    m_bPowerStateReset;
   };