updated copyright messages for 2013
[deb_libcec.git] / src / lib / devices / CECPlaybackDevice.h
index 2b13508375f3b9649a634c3f2f3a1e16dc7cb3cb..2fe42c3032a6b999cedc7d84810e7feee917d6c9 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-2013 Pulse-Eight Limited.  All rights reserved.
  * libCEC(R) is an original work, containing original code.
  *
  * libCEC(R) is a trademark of Pulse-Eight Limited.
@@ -38,7 +38,21 @@ namespace CEC
   class CCECPlaybackDevice : public CCECBusDevice
   {
   public:
-    CCECPlaybackDevice(CCECProcessor *processor, cec_logical_address address, uint16_t iPhysicalAddress = 0);
+    CCECPlaybackDevice(CCECProcessor *processor, cec_logical_address address, uint16_t iPhysicalAddress = CEC_INVALID_PHYSICAL_ADDRESS);
     virtual ~CCECPlaybackDevice(void) {};
+
+    cec_deck_info GetDeckStatus(const cec_logical_address initiator);
+    cec_deck_control_mode GetDeckControlMode(const cec_logical_address initiator);
+
+    void SetDeckStatus(cec_deck_info deckStatus);
+    void SetDeckControlMode(cec_deck_control_mode mode);
+
+    bool TransmitDeckStatus(cec_logical_address dest, bool bIsReply);
+
+    virtual void ResetDeviceStatus(void);
+
+  protected:
+    cec_deck_info         m_deckStatus;
+    cec_deck_control_mode m_deckControlMode;
   };
 }