X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=include%2Fcec.h;h=7a306dddc82f37d4d26e8c68132af1c638f61e9a;hb=28fa6c976a4c91b515be4cb119f92e2000bbd90e;hp=6a8996d4ceb06ee060aebeb424aa80781680335f;hpb=c409848208093a15758c91e3fab9fbe806a62e12;p=deb_libcec.git diff --git a/include/cec.h b/include/cec.h index 6a8996d..7a306dd 100644 --- a/include/cec.h +++ b/include/cec.h @@ -166,16 +166,17 @@ namespace CEC /*! * @brief Change the deck control mode, if this adapter is registered as playback device. * @param mode The new control mode. + * @param bSendUpdate True to send the status over the CEC line. * @return True if set, false otherwise. */ - virtual bool SetDeckControlMode(cec_deck_control_mode mode) = 0; + virtual bool SetDeckControlMode(cec_deck_control_mode mode, bool bSendUpdate = true) = 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; + virtual bool SetDeckInfo(cec_deck_info info, bool bSendUpdate = true) = 0; /*! * @brief Broadcast a message that notifies connected CEC capable devices that this device is no longer the active source. @@ -183,6 +184,14 @@ namespace CEC */ virtual bool SetInactiveView(void) = 0; + /*! + * @brief Change the menu state. + * @param state The new true. + * @param bSendUpdate True to send the status over the CEC line. + * @return True if set, false otherwise. + */ + virtual bool SetMenuState(cec_menu_state state, bool bSendUpdate = true) = 0; + /*! * @brief Display a message on the device with the given logical address. * @param iLogicalAddres The device to display the message on.