cec: mark the active source as active and other devices as inactive. removed duplicat...
[deb_libcec.git] / src / lib / devices / CECPlaybackDevice.h
index 1af94855843406fc9bda28de9ba63fb980490d95..24ce072af0e423fba722c7b5b3f393bbe1624724 100644 (file)
@@ -41,6 +41,13 @@ namespace CEC
     CCECPlaybackDevice(CCECProcessor *processor, cec_logical_address address, uint16_t iPhysicalAddress = 0);
     virtual ~CCECPlaybackDevice(void) {};
 
+    virtual cec_deck_info GetDeckStatus(void) const { return m_deckStatus; };
+
+    virtual void SetDeckStatus(cec_deck_info deckStatus);
+
     virtual bool TransmitDeckStatus(cec_logical_address dest);
+
+  protected:
+    cec_deck_info m_deckStatus;
   };
 }