Merge branch 'master' into release
[deb_libcec.git] / src / lib / implementations / SLCommandHandler.h
index e5edac52116f57376d897157ce88c147666c3289..dae426605758b1e03b7f42535db9be55b588dae9 100644 (file)
@@ -2,7 +2,7 @@
 /*
  * 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.
@@ -40,5 +40,28 @@ namespace CEC
   public:
     CSLCommandHandler(CCECBusDevice *busDevice);
     virtual ~CSLCommandHandler(void) {};
+
+    virtual bool InitHandler(void);
+    virtual bool ActivateSource(void);
+
+  protected:
+    virtual bool HandleActiveSource(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);
+
+    virtual void HandleVendorCommand01(const cec_command &command);
+    virtual void TransmitVendorCommand0205(const cec_logical_address iSource, const cec_logical_address iDestination);
+
+    virtual void HandleVendorCommandPowerOn(const cec_command &command);
+    virtual void HandleVendorCommandPowerOnStatus(const cec_command &command);
+
+    virtual void HandleVendorCommandSLConnect(const cec_command &command);
+    virtual void TransmitVendorCommand05(const cec_logical_address iSource, const cec_logical_address iDestination);
+
+    virtual void SetLGDeckStatus(void);
+
+    bool    m_bSLEnabled;
+    bool    m_bPowerStateReset;
   };
 };