Fix coverity issue 1149129
[apps/native/volume-app.git] / inc / sound.h
1 /*
2  * Copyright (c) 2009-2015 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17
18 #ifndef __VOLUME_SOUND_H__
19 #define __VOLUME_SOUND_H__
20
21 extern int volume_sound_sound_status_get(void);
22 extern int volume_sound_vibration_status_get(void);
23 extern int volume_sound_step_get(void);
24 extern Eina_Bool volume_sound_is_vibration_get(void);
25 extern void volume_sound_is_vibration_set(Eina_Bool val);
26
27 extern void volume_sound_mm_sound_init(void);
28 extern int volume_sound_slider_value_set(void *data, int val);
29 extern volume_error_e volume_sound_level_get(sound_type_e type);
30 extern int volume_sound_sound_manager_step_get(sound_type_e type);
31 extern int volume_sound_sound_manager_volume_get(sound_type_e type);
32 extern sound_type_e volume_sound_sound_manager_type_get(void);
33 extern void volume_sound_feedback_play(int feedback_type, int pattern);
34 extern void volume_sound_vib_play(void);
35 extern void volume_sound_play(void);
36 extern int volume_sound_icon_set(void *data, int val);
37 extern int volume_sound_level_set(sound_type_e type, int val);
38 extern void volume_sound_setting_sound_play(void);
39 extern void volume_sound_change_set(int val);
40
41 extern void volume_sound_vconf_status_set(volume_vconf_type_e type, int val);
42 extern int volume_sound_vconf_status_get(volume_vconf_type_e type);
43 extern void volume_sound_vconfkey_register(void);
44 extern void volume_sound_vconfkey_unregister(void);
45
46 #endif
47 /* __VOLUME_SOUND_H__ */