Compare commits

...

12 Commits

Author SHA1 Message Date
Simo Piiroinen
cd925e9500 Bump mce-dev version to 1.31.0
Signed-off-by: Simo Piiroinen <simo.piiroinen@jolla.com>
2022-10-18 10:48:22 +03:00
Simo Piiroinen
9a8dfdf7db Merge pull request #4 from spiiroin/jb58372_charging_settings
[mce] Add forced charging D-Bus constants. JB#58372
2022-10-18 10:46:16 +03:00
Simo Piiroinen
76210af2f2 [mce] Add forced charging D-Bus constants. JB#58372
Constants related to overriding charging policy state on D-Bus.

Signed-off-by: Simo Piiroinen <simo.piiroinen@jolla.com>
2022-10-10 22:24:48 +03:00
Simo Piiroinen
14f1508a42 Bump mce-dev version to 1.30.0
Signed-off-by: Simo Piiroinen <simo.piiroinen@jolla.com>
2022-02-22 04:22:05 +02:00
Simo Piiroinen
e1a09b9119 Merge pull request #2 from spiiroin/jb40062_charging_hysteresis
[mce] Add charging hysteresis state D-Bus constants. JB#40062
2022-02-22 04:18:48 +02:00
Simo Piiroinen
ebe124e018 [mce] Add charging hysteresis state D-Bus constants. JB#40062
Constants related to exposing charging hysteresis state on D-Bus.

Signed-off-by: Simo Piiroinen <simo.piiroinen@jolla.com>
2022-02-22 04:16:51 +02:00
Simo Piiroinen
5af012a1ac Bump mce-dev version to 1.29.0
Signed-off-by: Simo Piiroinen <simo.piiroinen@jolla.com>
2021-10-25 18:12:57 +03:00
Simo Piiroinen
11e0cb820a Merge pull request #1 from spiiroin/jb55731_mouse_availability
[mce] Add mouse availability state D-Bus constants. JB#55866
2021-10-25 18:08:17 +03:00
Simo Piiroinen
c537983848 [mce] Add mouse availability state D-Bus constants. JB#55866
Constants related to exposing mouse availablity state on D-Bus.

Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
2021-10-13 15:39:26 +03:00
Simo Piiroinen
9d2cb2a039 Bump mce-dev version to 1.28.3
[mce-dev] Set rpm build arch to noarch. JB#49548

Signed-off-by: Simo Piiroinen <simo.piiroinen@jollamobile.com>
2020-09-01 11:45:32 +03:00
spiiroin
0ffea0bfce Merge branch 'noarch' into 'master'
Set rpm build arch to noarch

See merge request mer-core/mce-dev!15
2020-09-01 08:41:52 +00:00
Rinigus
3a14b1da00 [mce-dev] Set rpm build arch to noarch
Signed-off-by: Rinigus <rinigus.git@gmail.com>
2020-08-31 18:16:06 +03:00
5 changed files with 209 additions and 6 deletions

24
debian/changelog vendored
View File

@@ -1,3 +1,27 @@
mce-dev (1.31.0) unstable; urgency=low
* [mce] Add forced charging D-Bus constants. JB#58372
-- Simo Piiroinen <simo.piiroinen@jolla.com> Tue, 18 Oct 2022 10:47:06 +0300
mce-dev (1.30.0) unstable; urgency=low
* [mce] Add charging hysteresis state D-Bus constants. JB#40062
-- Simo Piiroinen <simo.piiroinen@jolla.com> Tue, 22 Feb 2022 04:19:53 +0200
mce-dev (1.29.0) unstable; urgency=low
* [mce] Add mouse availability state D-Bus constants. JB#55866
-- Simo Piiroinen <simo.piiroinen@jolla.com> Mon, 25 Oct 2021 18:09:15 +0300
mce-dev (1.28.3) unstable; urgency=low
* [mce-dev] Set rpm build arch to noarch
-- Simo Piiroinen <simo.piiroinen@jollamobile.com> Tue, 01 Sep 2020 11:42:42 +0300
mce-dev (1.28.2) unstable; urgency=low
* [aarch64] Specify pcdir with use of libdir. Contributes to JB#49681

View File

@@ -4,8 +4,8 @@
* <p>
* This file is part of mce-dev
* <p>
* Copyright © 2004-2011 Nokia Corporation and/or its subsidiary(-ies).
* Copyright (C) 2013-2019 Jolla Ltd.
* Copyright (c) 2004 - 2011 Nokia Corporation and/or its subsidiary(-ies).
* Copyright (c) 2013 - 2022 Jolla Ltd.
* Copyright (c) 2019 Open Mobile Platform LLC.
* <p>
* @author David Weinehall <david.weinehall@nokia.com>
@@ -919,8 +919,70 @@
*/
# define MCE_CHARGER_TYPE_SIG "charger_type_ind"
/** Query current charging hysteresis state
*
* @since mce 1.110.0
*
* @return string: charging hysteresis policy state, one of:
* - #MCE_CHARGING_STATE_UNKNOWN
* - #MCE_CHARGING_STATE_ENABLED
* - #MCE_CHARGING_STATE_DISABLED
*/
# define MCE_CHARGING_STATE_GET "get_charging_state"
/** Signal that indicates that charging hysteresis state has changed
*
* Charging hysteresis policy decision.
*
* @since mce 1.110.0
*
* @param string: charging hysteresis policy state, one of:
* - #MCE_CHARGING_STATE_UNKNOWN
* - #MCE_CHARGING_STATE_ENABLED
* - #MCE_CHARGING_STATE_DISABLED
*/
# define MCE_CHARGING_STATE_SIG "charging_state_ind"
/** Query charge-once-to-full policy override state
*
* @since mce 1.112.0
*
* @return string: charge-once-to-full policy override state, one of:
* - #MCE_FORCED_CHARGING_UNKNOWN
* - #MCE_FORCED_CHARGING_ENABLED
* - #MCE_FORCED_CHARGING_DISABLED
*/
# define MCE_FORCED_CHARGING_GET "get_forced_charging"
/** Request charge-once-to-full policy override state change
*
* @since mce 1.112.0
*
* @note Override is automatically disabled if / when
* battery is full or charger is disconnected.
*
* @param value string: override state, one of:
* - #MCE_FORCED_CHARGING_ENABLED
* - #MCE_FORCED_CHARGING_DISABLED
*/
# define MCE_FORCED_CHARGING_REQ "req_forced_charging"
/** Signal that indicates that charge-once-to-full policy override state has changed
*
* Charge-once-to-full policy override decision.
*
* @since mce 1.112.0
*
* @param string: charge-once-to-full policy state, one of:
* - #MCE_FORCED_CHARGING_UNKNOWN
* - #MCE_FORCED_CHARGING_ENABLED
* - #MCE_FORCED_CHARGING_DISABLED
*/
# define MCE_FORCED_CHARGING_SIG "forced_charging_ind"
/*@}*/
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
/** @name LED Control
@@ -1153,6 +1215,44 @@
/*@}*/
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
/** @name Hardware Mouse Availability
*
*@{
*/
/** Query HW mouse availability
*
* @since mce 1.109.0
*
* Mouse present
*
* Used for example in evaluating whether mouse pointer
* should be shown or not.
*
* @return string: availability state, one of:
* - #MCE_HARDWARE_MOUSE_UNDEF
* - #MCE_HARDWARE_MOUSE_AVAILABLE
* - #MCE_HARDWARE_MOUSE_NOT_AVAILABLE
*/
# define MCE_HARDWARE_MOUSE_STATE_GET "mouse_available_state_req"
/** Notify changes in HW mouse availability
*
* @since mce 1.109.0
*
* Mouse present
*
* @return string: availability state, one of:
* - #MCE_HARDWARE_MOUSE_UNDEF
* - #MCE_HARDWARE_MOUSE_AVAILABLE
* - #MCE_HARDWARE_MOUSE_NOT_AVAILABLE
*/
# define MCE_HARDWARE_MOUSE_STATE_SIG "mouse_available_state_ind"
/*@}*/
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
/** @name Sliding Keyboard State

View File

@@ -4,8 +4,8 @@
* <p>
* This file is part of mce-dev
* <p>
* Copyright © 2004-2011 Nokia Corporation and/or its subsidiary(-ies).
* Copyright (C) 2012-2019 Jolla Ltd.
* Copyright (c) 2004 - 2011 Nokia Corporation and/or its subsidiary(-ies).
* Copyright (c) 2012 - 2022 Jolla Ltd.
* Copyright (c) 2019 Open Mobile Platform LLC.
* <p>
* @author David Weinehall <david.weinehall@nokia.com>
@@ -482,6 +482,58 @@
/*@}*/
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
/** @name Charging Hysteresis State Constants
*
*@{
*/
/** Charging hysteresis policy state is not known
*
* @since mce 1.110.0
*/
# define MCE_CHARGING_STATE_UNKNOWN "unknown"
/** Charging hysteresis policy allows charging
*
* @since mce 1.110.0
*/
# define MCE_CHARGING_STATE_ENABLED "enabled"
/** Charging hysteresis policy denies charging
*
* @since mce 1.110.0
*/
# define MCE_CHARGING_STATE_DISABLED "disabled"
/*@}*/
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
/** @name Charge-once-to-full policy override constants
*
*@{
*/
/** Charge-once-to-full policy override state is not known
*
* @since mce 1.112.0
*/
# define MCE_FORCED_CHARGING_UNKNOWN "unknown"
/** Charge-once-to-full policy override has been activated
*
* @since mce 1.112.0
*/
# define MCE_FORCED_CHARGING_ENABLED "enabled"
/** Charge-once-to-full policy override has been deactivated
*
* @since mce 1.112.0
*/
# define MCE_FORCED_CHARGING_DISABLED "disabled"
/*@}*/
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
/** @name Battery Status Constants
@@ -634,6 +686,32 @@
# define MCE_HARDWARE_KEYBOARD_NOT_AVAILABLE "not-available"
/*@}*/
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
/** @name Hardware Mouse Availability Constants
*
*@{
*/
/** Hardware Mouse availability is not known
*
* @since mce 1.109.0
*/
# define MCE_HARDWARE_MOUSE_UNDEF "undef"
/** Hardware Mouse is available
*
* @since mce 1.109.0
*/
# define MCE_HARDWARE_MOUSE_AVAILABLE "available"
/** Hardware Mouse is not available
*
* @since mce 1.109.0
*/
# define MCE_HARDWARE_MOUSE_NOT_AVAILABLE "not-available"
/*@}*/
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
/** @name Feedback Event Name Constants

2
mce.pc
View File

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

View File

@@ -1,11 +1,12 @@
Name: mce-headers
Summary: Development files for mce
Version: 1.28.2
Version: 1.31.0
Release: 1
Group: Development/Libraries
License: LGPLv2
URL: https://git.sailfishos.org/mer-core/mce-dev
Source0: %{name}-%{version}.tar.bz2
BuildArch: noarch
BuildRequires: doxygen
%description