[System.Feedback] Add internal APIs to support multi-theme sound conf usage
authorYunhee Seo <yuni.seo@samsung.com>
Wed, 9 Aug 2023 07:02:05 +0000 (16:02 +0900)
committerChanwoo Choi <chanwoo@kernel.org>
Wed, 16 Aug 2023 05:36:07 +0000 (14:36 +0900)
commit145d2ee99a47dfcfc2b264c8f825829391ef2cba
tree65148a4b3ab1df4614274bad2683a33e1da5a22e
parentc8e7864e35f56e89923478a499313548f0e07e33
[System.Feedback] Add internal APIs to support multi-theme sound conf usage

Allows selecting one of several theme files according to feedback type.
Now, this supports only feedback type Sound.

These are newly added to System.Feedback.
- public uint GetCountOfThemeInternal(FeedbackType type)
    -> It returns count of theme which is defined conf file according to feedback type.
       This indicates how many conf files are available.
- public uint GetThemeIndexInternal(FeedbackType type)
    -> It returns index of theme which is selected as default according to feedback type.
- public void SetThemeIndexInternal(FeedbackType type, uint indexOfTheme)
    -> It sets indexOfTheme to default conf index according to feedback type.
       By calling this, feedback will use the conf file with "indexOfTheme" index.

Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
src/Tizen.System.Feedback/Feedback/Feedback.cs
src/Tizen.System.Feedback/Interop/Interop.Feedback.cs