[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 06:26:09 +0000 (15:26 +0900)
commit8e19b6492d977424b6b96277e417eee108cd9b0a
treea495e41ef3292a4b3fbfec7f74280d19cba90588
parent186580170d4ea306876fe8300a59ee08b64b84aa
[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