From 51ac57d6286800ffcc4e658c6928c03c225e151a Mon Sep 17 00:00:00 2001 From: Yunhee Seo Date: Mon, 6 Feb 2023 14:42:42 +0900 Subject: [PATCH] libgdbus: add dbus signal for power lock state change In this context, power lock state is meaning of "locked or unlocked". Thus, If the power lock state of specific pmlock is changed, this signal will be used. Change-Id: I9db5527bf9668fe54ee9c0c19a2be23b42f91517 Signed-off-by: Yunhee Seo --- src/libgdbus/dbus-iface-system.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libgdbus/dbus-iface-system.h b/src/libgdbus/dbus-iface-system.h index f4d6a8d..f14227d 100644 --- a/src/libgdbus/dbus-iface-system.h +++ b/src/libgdbus/dbus-iface-system.h @@ -91,6 +91,8 @@ extern "C" { #define DEVICED_SIGNAL_POWER_CHANGE_STATE_TO_SUSPENDING_EARLY "PowerChangeStateToSuspendingEarly" #define DEVICED_SIGNAL_POWER_CHANGE_STATE_TO_SUSPENDING "PowerChangeStateToSuspending" #define DEVICED_SIGNAL_POWER_CHANGE_STATE_TO_SUSPENDING_LATE "PowerChangeStateToSuspendingLate" +/* Power service : signals on changing power lock state */ +#define DEVICED_SIGNAL_POWER_LOCK_STATE_CHANGED "PowerLockStateChanged" /* Storage service: get storage size operatioins about storage */ #define DEVICED_PATH_STORAGE DEVICED_OBJECT_PATH"/Storage" #define DEVICED_INTERFACE_STORAGE DEVICED_INTERFACE_NAME".storage" -- 2.7.4