plugin-api: deviced: Add enum deviced_event 35/296935/2
authorYoungjae Cho <y0.cho@samsung.com>
Mon, 7 Aug 2023 10:34:28 +0000 (19:34 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Mon, 7 Aug 2023 11:03:52 +0000 (20:03 +0900)
commitd089655f7fea15d3dd5b570ded9e83ebd4b82bbe
tree88c0dbe8dfc37972442d15a53ee1020eedb8637d
parent932732ab450d8f4afc64940e7a45de4270e97045
plugin-api: deviced: Add enum deviced_event

 It replaces enum of the deviced, INTERNAL_LOCK_*, and it enumerates events
that the deviced can handle.
 The events are grouped by module name. And each group can have a single
'General' event and several 'Specific' events. General event is named with
module name. Specific event have suffix to the general event, describing
what the event exactly is. For example,
   - DEVICED_EVENT_BATTERY
     : Representative event of battery event. Represents overall events
       of battery and can be used by general battery event.

   - DEVICED_EVENT_BATTERY_CAPACITY_LOW
     : Specific event of battery event. Denotes battery capacity has
       entered into or escaped from low status.

Change-Id: I4bd752c2d5303ff25d7a070a621fe122f7d0f0dc
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
src/plugin-api/deviced/include/syscommon-plugin-deviced-common-interface.h