apply player_prepare_async
[apps/home/music-player.git] / src / core / include / mp-player-control.h
1 /*
2  * Copyright 2012         Samsung Electronics Co., Ltd
3  *
4  * Licensed under the Flora License, Version 1.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.tizenopensource.org/license
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 #ifndef __DEF_music_player_contro_H_
18 #define __DEF_music_player_contro_H_
19
20 #include <Elementary.h>
21 #include "music.h"
22
23 void mp_play_control_play_pause(void *data, Evas_Object * o, const char *emission, const char *source);
24 void mp_play_control_ff_cb(void *data, Evas_Object * o, const char *emission, const char *source);
25 void mp_play_control_rew_cb(void *data, Evas_Object * o, const char *emission, const char *source);
26 void mp_play_control_volume_down_cb(void *data, Evas_Object * o, const char *emission, const char *source);
27 void mp_play_control_volume_up_cb(void *data, Evas_Object * o, const char *emission, const char *source);
28 void mp_play_control_volume_cb(void *data, Evas_Object * o, const char *emission, const char *source);
29 void mp_play_control_menu_cb(void *data, Evas_Object * o, const char *emission, const char *source);
30 void mp_play_control_end_of_stream(void *data);
31 bool mp_player_control_ready_new_file(void *data, bool check_drm);
32
33 void mp_play_stop_and_updateview(void *data, bool mmc_removed);
34 void mp_play_control_visible_set(void *data, bool play_enable);
35 void mp_play_control_shuffle_set(void *data, bool shuffle_enable);
36 void mp_play_control_repeat_set(void *data, int repeat_state);
37
38 #endif /*__DEF_music_player_contro_H_*/