From 18202c10efdef1a7a797ec1169852db88c5a14a2 Mon Sep 17 00:00:00 2001 From: Simo Piiroinen Date: Thu, 5 Oct 2017 19:04:01 +0300 Subject: [PATCH 1/2] [mce] Add button backlight policy related D-Bus constants. JB#39838 Signed-off-by: Simo Piiroinen --- include/mce/dbus-names.h | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/include/mce/dbus-names.h b/include/mce/dbus-names.h index d0ad1f1..4a720d5 100644 --- a/include/mce/dbus-names.h +++ b/include/mce/dbus-names.h @@ -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_ */ From f47522c9053a16bba4084ede0a6d4451640e9ef4 Mon Sep 17 00:00:00 2001 From: Simo Piiroinen Date: Fri, 6 Oct 2017 06:38:26 +0300 Subject: [PATCH 2/2] Bump mce-dev version to 1.23.0 --- debian/changelog | 6 ++++++ mce.pc | 2 +- rpm/mce-headers.spec | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 643a8e9..48d837e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 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 diff --git a/mce.pc b/mce.pc index 25a7772..643aee8 100644 --- a/mce.pc +++ b/mce.pc @@ -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} diff --git a/rpm/mce-headers.spec b/rpm/mce-headers.spec index b9423a5..bf24e1d 100644 --- a/rpm/mce-headers.spec +++ b/rpm/mce-headers.spec @@ -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