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>