cec: added SetDeckControlMode() and SetDeckInfo(). handle deck related opcodes. proba...
[deb_libcec.git] / include / cec.h
index 8212f17c877accd56ab44b5c7fe516989b32483d..6a8996d4ceb06ee060aebeb424aa80781680335f 100644 (file)
@@ -163,6 +163,20 @@ namespace CEC
      */
     virtual bool SetActiveView(void) = 0;
 
+    /*!
+     * @brief Change the deck control mode, if this adapter is registered as playback device.
+     * @param mode The new control mode.
+     * @return True if set, false otherwise.
+     */
+    virtual bool SetDeckControlMode(cec_deck_control_mode mode) = 0;
+
+    /*!
+     * @brief Change the deck info, if this adapter is a playback device.
+     * @param info The new deck info.
+     * @return True if set, false otherwise.
+     */
+    virtual bool SetDeckInfo(cec_deck_info info) = 0;
+
     /*!
      * @brief Broadcast a message that notifies connected CEC capable devices that this device is no longer the active source.
      * @return True when the command was sent succesfully, false otherwise.