update exception handling code.
[apps/native/volume-app.git] / src / _sound.h
1 /*
2  * org.tizen.volume
3  * Copyright 2012  Samsung Electronics Co., Ltd
4  *
5  * Licensed under the Flora License, Version 1.0 (the License);
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *     http://floralicense.org/license/
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an AS IS BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17
18
19 #ifndef __VOLUME_SOUND_H__
20 #define __VOLUME_SOUND_H__
21
22 #include <mm_sound.h>
23
24 int _init_svi();
25 int _init_mm_sound(void *data);
26 int _get_volume_type_max(void);
27 int _get_title(volume_type_t type, char *label, int size);
28 int _get_sound_level(volume_type_t type, int *val);
29 int _get_step(int type);
30 void _play_vib(int handle);
31 void _play_sound(int type, int handle);
32 void _mm_func(void *data);
33 int _set_icon(void * data, int val);
34 int _set_sound_level(volume_type_t type, int val);
35
36 #endif
37 /* __VOLUME_SOUND_H__ */