libgdbus: add dbus signal for power lock state change 66/287866/1 accepted/tizen/7.0/unified/20230209.070252
authorYunhee Seo <yuni.seo@samsung.com>
Mon, 6 Feb 2023 05:42:42 +0000 (14:42 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Tue, 7 Feb 2023 07:33:23 +0000 (16:33 +0900)
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 <yuni.seo@samsung.com>
src/libgdbus/dbus-iface-system.h

index 2f8fddd..65f08d5 100644 (file)
@@ -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"