diff options
author | Yunhee Seo <yuni.seo@samsung.com> | 2023-11-08 10:52:54 +0900 |
---|---|---|
committer | Yunhee Seo <yuni.seo@samsung.com> | 2023-11-13 19:13:47 +0900 |
commit | e04270bab5e432393b046e7d10890ebce19e7aa2 (patch) | |
tree | 16fff090d20da098832de3ba4cf2fba7ff406bdf /include | |
parent | a9ab0bee823294adcef5862f74c9216a953e3946 (diff) | |
download | libsvi-e04270bab5e432393b046e7d10890ebce19e7aa2.tar.gz libsvi-e04270bab5e432393b046e7d10890ebce19e7aa2.tar.bz2 libsvi-e04270bab5e432393b046e7d10890ebce19e7aa2.zip |
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>
Diffstat (limited to 'include')
-rwxr-xr-x | include/feedback-internal.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/feedback-internal.h b/include/feedback-internal.h index 2038bf7..690c030 100755 --- a/include/feedback-internal.h +++ b/include/feedback-internal.h @@ -229,6 +229,23 @@ int feedback_set_theme_id_internal(feedback_type_e feedback_type, unsigned int i int feedback_stop_type_internal(feedback_type_e feedback_type); /** + * @brief Gets the array of theme id supported. + * @details This function gets all theme id as defined in the conf file. + * The theme id is positive value according to conf file. + * @since_tizen 7.0 + * @param[in] type The feedback type + * @param[out] count_of_theme This means size of theme id array + * @param[out] theme_ids The theme id array + * @return @c 0 on success, + * otherwise a negative error value + * @retval #FEEDBACK_ERROR_NONE Successful + * @retval #FEEDBACK_ERROR_OPERATION_FAILED Operation not permitted + * @retval #FEEDBACK_ERROR_INVALID_PARAMETER Invalid parameter + * @retval #FEEDBACK_ERROR_NOT_SUPPORTED Not supported device + */ +int feedback_get_theme_ids_internal(feedback_type_e feedback_type, unsigned int *count_of_theme, unsigned int **theme_ids); + +/** * @} */ |