sync with private git. updated the license and the boilerplates
[apps/home/quickpanel.git] / daemon / media.h
1 /*
2  * Copyright 2012  Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.1 (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://floralicense.org
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 #ifndef __QUICKPANEL_MEDIA_H__
17 #define __QUICKPANEL_MEDIA_H__
18
19 #include <player.h>
20 #include <feedback.h>
21
22 #define QP_PLAY_DURATION_LIMIT 15
23
24 void quickpanel_player_play(sound_type_e sound_type, const char *sound_file);
25 void quickpanel_player_stop(void);
26 int quickpanel_is_sound_enabled(void);
27 int quickpanel_is_vib_enabled(void);
28 void quickpanel_play_feedback(void);
29 int quickpanel_set_mute_toggle(void);
30
31 #endif