-
Notifications
You must be signed in to change notification settings - Fork 9
/
bme-dbus-names.h
60 lines (50 loc) · 2.35 KB
/
bme-dbus-names.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/**
* @file bme-dbus-names.h
* Mode Control Entity - D-Bus constants related to BME service
* <p>
* Copyright (C) 2010-2011 Nokia Corporation. All rights reserved.
* Copyright (C) 2018-2019 Jolla Ltd.
* <p>
* @author David Weinehall <[email protected]>
* @author Santtu Lakkala <[email protected]>
* @author Simo Piiroinen <[email protected]>
*
* mce is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License
* version 2.1 as published by the Free Software Foundation.
*
* mce is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with mce. If not, see <http://www.gnu.org/licenses/>.
*/
/**
* @file bme-dbus-names.h
*/
#ifndef _BME_DBUS_NAMES_H_
#define _BME_DBUS_NAMES_H_
#define DBUS_BROADCAST "org.freedesktop.DBus.Broadcast"
#define BME_SERVICE "com.nokia.bme"
#define BME_REQUEST_IF "com.nokia.bme.request"
#define BME_REQUEST_PATH "/com/nokia/bme/request"
#define BME_SIGNAL_IF "com.nokia.bme.signal"
#define BME_SIGNAL_PATH "/com/nokia/bme/signal"
#define BME_ERROR_FATAL "com.nokia.bme.error.fatal"
#define BME_ERROR_INVALID_ARGS "org.freedesktop.DBus.Error.InvalidArgs"
#define BME_BATTERY_STATE_UPDATE "battery_state_changed"
#define BME_BATTERY_FULL "battery_full"
#define BME_BATTERY_OK "battery_ok"
#define BME_BATTERY_LOW "battery_low"
#define BME_BATTERY_EMPTY "battery_empty"
#define BME_BATTERY_TIMELEFT "battery_timeleft"
#define BME_CHARGER_CONNECTED "charger_connected"
#define BME_CHARGER_DISCONNECTED "charger_disconnected"
#define BME_CHARGER_CHARGING_ON "charger_charging_on"
#define BME_CHARGER_CHARGING_OFF "charger_charging_off"
#define BME_CHARGER_CHARGING_FAILED "charger_charging_failed"
#define BME_STATUS_INFO_REQ "status_info_req"
#define BME_TIMELEFT_INFO_REQ "timeleft_info_req"
#endif /* _BME_DBUS_NAMES_H_ */