dbus-iface-system: Add event dbus interface of deviced 60/297360/4
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 17 Aug 2023 09:06:41 +0000 (18:06 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 17 Aug 2023 09:45:00 +0000 (18:45 +0900)
Add new deviced dbus interface to broadcast the event id.

[Detailed description of newly added dbus information]
- DEVICED_PATH_EVENT "/Org/Tizen/System/DeviceD/Event"
- DEVICED_INTERFACE_EVENT "org.tizen.system.deviced.Event"
- DEVICED_SIGNAL_EVENT_ID "Id"

Change-Id: I5a444639b64bb47ee10f32a092b9879850c26000
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
include/libsyscommon/dbus-iface-system.h

index f14227d6c2f02bc91067c766c4cc0705c122b0d4..52338d39414d65e86697fdaf6b7209ac11d9568a 100644 (file)
@@ -161,6 +161,11 @@ extern "C" {
 #define DEVICED_PATH_INPUT                  DEVICED_OBJECT_PATH"/Input"
 #define DEVICED_INTERFACE_INPUT             DEVICED_INTERFACE_NAME".input"
 
+/* Event service: To broadcast event values */
+#define DEVICED_PATH_EVENT                  DEVICED_OBJECT_PATH"/Event"
+#define DEVICED_INTERFACE_EVENT             DEVICED_INTERFACE_NAME".Event"
+#define DEVICED_SIGNAL_EVENT_ID            "Id"
+
 /*******************************************************************************
  *
  * Storage daemon (storaged)