Merge branch 'jb39838_button_backlight' into 'master'

Add button backlight policy related D-Bus constants

See merge request !6
This commit is contained in:
spiiroin
2017-10-06 10:18:03 +00:00
4 changed files with 48 additions and 2 deletions

6
debian/changelog vendored
View File

@@ -1,3 +1,9 @@
mce-dev (1.23.0) unstable; urgency=low
* [mce] Add button backlight policy related D-Bus constants. JB#39838
-- Simo Piiroinen <simo.piiroinen@jollamobile.com> Fri, 06 Oct 2017 06:35:37 +0300
mce-dev (1.22.0) unstable; urgency=low
* [mce] Add input policy related D-Bus constants. JB#38001

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_ */

2
mce.pc
View File

@@ -3,7 +3,7 @@ includedir=${prefix}/include
Name: mce
Description: Mode Control Entity
Version: 1.22.0
Version: 1.23.0
Requires:
Libs:
Cflags: -I${includedir}

View File

@@ -1,6 +1,6 @@
Name: mce-headers
Summary: Development files for mce
Version: 1.22.0
Version: 1.23.0
Release: 1
Group: Development/Libraries
License: LGPLv2