cec: implemented power up for LG devices other than a TV
[deb_libcec.git] / src / lib / implementations / SLCommandHandler.h
index e24dac7ee9b61770718ae43238879a6b206b458e..a0ea25a329cb3d49bc9716212ce0f8983b26908b 100644 (file)
@@ -32,6 +32,7 @@
  */
 
 #include "CECCommandHandler.h"
+#include "../platform/util/timeutils.h"
 
 namespace CEC
 {
@@ -62,9 +63,19 @@ namespace CEC
     virtual bool HandleGiveDevicePowerStatus(const cec_command &command);
     virtual bool HandleGiveDeckStatus(const cec_command &command);
     virtual bool HandleRequestActiveSource(const cec_command &command);
+    virtual bool HandleFeatureAbort(const cec_command &command);
+    virtual bool HandleStandby(const cec_command &command);
+    virtual bool TransmitMenuState(const cec_logical_address UNUSED(iInitiator), const cec_logical_address UNUSED(iDestination), cec_menu_state UNUSED(menuState)) { return true; }
+    virtual bool PowerOn(const cec_logical_address iInitiator, const cec_logical_address iDestination);
 
-    bool    m_bSLEnabled;
-    bool    m_bPowerStateReset;
-    bool    m_bActiveSourceSent;
+    virtual void ResetSLState(void);
+    virtual bool SLInitialised(void);
+    virtual void SetSLInitialised(void);
+    virtual bool ActiveSourceSent(void);
+
+    bool               m_bSLEnabled;
+    bool               m_bActiveSourceSent;
+    PLATFORM::CTimeout m_resetPowerState;
+    PLATFORM::CMutex   m_SLMutex;
   };
 };