VLC  4.0.0-dev
control.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * playlist/control.h
3  *****************************************************************************
4  * Copyright (C) 2018 VLC authors and VideoLAN
5  *
6  * This program is free software; you can redistribute it and/or modify it
7  * under the terms of the GNU Lesser General Public License as published by
8  * the Free Software Foundation; either version 2.1 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public License
17  * along with this program; if not, write to the Free Software Foundation,
18  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
19  *****************************************************************************/
20 
21 #ifndef VLC_PLAYLIST_CONTROL_H
22 #define VLC_PLAYLIST_CONTROL_H
23 
24 #include <vlc_common.h>
25 
27 
28 bool
30 
31 bool
33 
34 int
35 vlc_playlist_SetCurrentMedia(vlc_playlist_t *playlist, ssize_t index);
36 
39 
40 #endif
Definition: playlist.h:48
Describes an input and is used to spawn input_thread_t objects.
Definition: vlc_input_item.h:77
This file is a collection of common definitions and types.
bool vlc_playlist_ComputeHasPrev(vlc_playlist_t *playlist)
Definition: control.c:285
bool vlc_playlist_ComputeHasNext(vlc_playlist_t *playlist)
Definition: control.c:300
input_item_t * vlc_playlist_GetNextMedia(vlc_playlist_t *playlist)
Definition: control.c:436
int vlc_playlist_SetCurrentMedia(vlc_playlist_t *playlist, ssize_t index)
Definition: control.c:152