libvlc_media_list_player.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef LIBVLC_MEDIA_LIST_PLAYER_H
00025 #define LIBVLC_MEDIA_LIST_PLAYER_H 1
00026
00027
00028
00029
00030
00031
00032 # ifdef __cplusplus
00033 extern "C" {
00034 # endif
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046 typedef struct libvlc_media_list_player_t libvlc_media_list_player_t;
00047
00048
00049
00050
00051 typedef enum libvlc_playback_mode_t
00052 {
00053 libvlc_playback_mode_default,
00054 libvlc_playback_mode_loop,
00055 libvlc_playback_mode_repeat
00056 } libvlc_playback_mode_t;
00057
00058
00059
00060
00061
00062
00063
00064
00065 VLC_PUBLIC_API libvlc_media_list_player_t *
00066 libvlc_media_list_player_new( libvlc_instance_t * p_instance,
00067 libvlc_exception_t * p_e );
00068
00069
00070
00071
00072
00073
00074 VLC_PUBLIC_API void
00075 libvlc_media_list_player_release( libvlc_media_list_player_t * p_mlp );
00076
00077
00078
00079
00080
00081
00082 VLC_PUBLIC_API libvlc_event_manager_t *
00083 libvlc_media_list_player_event_manager(libvlc_media_list_player_t * p_mlp);
00084
00085
00086
00087
00088
00089
00090
00091
00092 VLC_PUBLIC_API void
00093 libvlc_media_list_player_set_media_player(
00094 libvlc_media_list_player_t * p_mlp,
00095 libvlc_media_player_t * p_mi,
00096 libvlc_exception_t * p_e );
00097
00098 VLC_PUBLIC_API void
00099 libvlc_media_list_player_set_media_list(
00100 libvlc_media_list_player_t * p_mlp,
00101 libvlc_media_list_t * p_mlist,
00102 libvlc_exception_t * p_e );
00103
00104
00105
00106
00107
00108
00109
00110 VLC_PUBLIC_API void
00111 libvlc_media_list_player_play( libvlc_media_list_player_t * p_mlp,
00112 libvlc_exception_t * p_e );
00113
00114
00115
00116
00117
00118
00119
00120 VLC_PUBLIC_API void
00121 libvlc_media_list_player_pause( libvlc_media_list_player_t * p_mlp,
00122 libvlc_exception_t * p_e );
00123
00124
00125
00126
00127
00128
00129
00130
00131 VLC_PUBLIC_API int
00132 libvlc_media_list_player_is_playing( libvlc_media_list_player_t * p_mlp,
00133 libvlc_exception_t * p_e );
00134
00135
00136
00137
00138
00139
00140
00141
00142 VLC_PUBLIC_API libvlc_state_t
00143 libvlc_media_list_player_get_state( libvlc_media_list_player_t * p_mlp,
00144 libvlc_exception_t * p_e );
00145
00146
00147
00148
00149
00150
00151
00152
00153 VLC_PUBLIC_API void
00154 libvlc_media_list_player_play_item_at_index(
00155 libvlc_media_list_player_t * p_mlp,
00156 int i_index,
00157 libvlc_exception_t * p_e );
00158
00159 VLC_PUBLIC_API void
00160 libvlc_media_list_player_play_item(
00161 libvlc_media_list_player_t * p_mlp,
00162 libvlc_media_t * p_md,
00163 libvlc_exception_t * p_e );
00164
00165
00166
00167
00168
00169
00170
00171 VLC_PUBLIC_API void
00172 libvlc_media_list_player_stop( libvlc_media_list_player_t * p_mlp,
00173 libvlc_exception_t * p_e );
00174
00175
00176
00177
00178
00179
00180
00181 VLC_PUBLIC_API void
00182 libvlc_media_list_player_next( libvlc_media_list_player_t * p_mlp,
00183 libvlc_exception_t * p_e );
00184
00185
00186
00187
00188
00189
00190
00191 VLC_PUBLIC_API void
00192 libvlc_media_list_player_previous( libvlc_media_list_player_t * p_mlp,
00193 libvlc_exception_t * p_e );
00194
00195
00196
00197
00198
00199
00200
00201
00202
00203
00204 VLC_PUBLIC_API void
00205 libvlc_media_list_player_set_playback_mode(
00206 libvlc_media_list_player_t * p_mlp,
00207 libvlc_playback_mode_t e_mode,
00208 libvlc_exception_t * p_e );
00209
00210
00211
00212 # ifdef __cplusplus
00213 }
00214 # endif
00215
00216 #endif