feedback: Add feedback_get_theme_ids_internal() 83/301283/1
authorYunhee Seo <yuni.seo@samsung.com>
Wed, 8 Nov 2023 01:52:54 +0000 (10:52 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Mon, 13 Nov 2023 10:02:59 +0000 (19:02 +0900)
commit110a84a9306c15b2a6b7929060a86fbdbf191c82
tree16fff090d20da098832de3ba4cf2fba7ff406bdf
parentab223876bb6522d329ca97203b95cfff0b916d93
feedback: Add feedback_get_theme_ids_internal()

Allows getting feedback theme id array supported.

This function is added to feedback.
- int feedback_get_theme_ids_internal(feedback_type_e feedback_type,
unsigned int *count_of_theme, unsigned int **theme_ids);
    - This function gets count of theme available and theme id array.

Test codes have also been added to check normal operation.

Change-Id: I396452314d9b87907bbc52658f788b8987bf67af
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
include/feedback-internal.h
src/devices.h
src/feedback.c
src/sound-theme-manager.c
src/sound-theme-manager.h
src/sound.c
src/vibrator.c
tests/main.c
tests/test-feedback-internal.c
tests/test-feedback-internal.h