virtual bool StandbyDevices(cec_logical_address address = CECDEVICE_BROADCAST) = 0;
/*!
- * @brief Broadcast a message that notifies connected CEC capable devices that this device is the active source.
+ * @brief Change the active source.
+ * @param type The new active source. Leave empty to use the primary type
* @return True when the command was sent succesfully, false otherwise.
*/
+ virtual bool SetActiveSource(cec_device_type type = CEC_DEVICE_TYPE_RESERVED) = 0;
+
+ /*!
+ * @deprecated Use SetActiveSource() instead
+ */
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.
extern "C" DECLSPEC void * CECInit(const char *strDeviceName, CEC::cec_device_type_list devicesTypes);
/*!
+ * @deprecated Please use CECInit() instead
* @brief Load the CEC adapter library.
* @param strDeviceName How to present this device to other devices.
* @param iLogicalAddress The logical of this device. PLAYBACKDEVICE1 by default.