[mce] Add button backlight policy related D-Bus constants. JB#39838

Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
This commit is contained in:
Simo Piiroinen
2017-10-05 19:04:01 +03:00
parent a5ced91829
commit 18202c10ef

View File

@@ -844,5 +844,45 @@
*/
#define MCE_VOLKEY_INPUT_POLICY_SIG "keypad_input_policy_ind"
/*@}*/
/**
* @name Button backlight policy D-Bus methods and signals
*/
/*@{*/
/** Get current button backlight state
*
* Returns true when button backlight is lit, false otherwise.
*
* @since v1.90.0
*
* @return button backlight state as DBUS_TYPE_BOOLEAN
*/
#define MCE_BUTTON_BACKLIGHT_GET "get_button_backlight"
/** Request button backlight state change
*
* The button backlight is lit when policy permits is, at least one
* D-Bus client has requested it, and the required control file
* configuration has been provided.
*
* @since v1.90.0
*
* @param state DBUS_TYPE_BOOLEAN
*/
#define MCE_BUTTON_BACKLIGHT_CHANGE_REQ "req_button_backlight_change"
/** Indication for change of button backlight state
*
* The state is true when button backlight is lit, false otherwise.
*
* @since v1.90.0
*
* @param state button backlight state as DBUS_TYPE_BOOLEAN
*/
#define MCE_BUTTON_BACKLIGHT_SIG "sig_button_backlight_ind"
/*@}*/
#endif /* _MCE_DBUS_NAMES_H_ */