1/*****************************************************************************
2 * deprecated.h: libvlc deprecated API
3 *****************************************************************************
4 * Copyright (C) 1998-2008 VLC authors and VideoLAN
5 * $Id: 7f55090fcd482489ceed9145ce2253e78fa6fd2a $
6 *
7 * Authors: Clément Stenac <zorglub@videolan.org>
8 * Jean-Paul Saman <jpsaman@videolan.org>
9 *
10 * This program is free software; you can redistribute it and/or modify it
11 * under the terms of the GNU Lesser General Public License as published by
12 * the Free Software Foundation; either version 2.1 of the License, or
13 * (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License for more details.
19 *
20 * You should have received a copy of the GNU Lesser General Public License
21 * along with this program; if not, write to the Free Software Foundation,
22 * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
23 *****************************************************************************/
24
25#ifndef LIBVLC_DEPRECATED_H
26#define LIBVLC_DEPRECATED_H 1
27
28/**
29 * \file
30 * This file defines libvlc deprecated API
31 */
32
33# ifdef __cplusplus
34extern "C" {
35# endif
36
37/*****************************************************************************
38 * Playlist (Deprecated)
39 *****************************************************************************/
40/** \defgroup libvlc_playlist LibVLC playlist (legacy)
41 * \ingroup libvlc
42 * @deprecated Use @ref libvlc_media_list instead.
43 * @{
44 */
45
46/**
47 * Start playing (if there is any item in the playlist).
48 *
49 * Additionnal playlist item options can be specified for addition to the
50 * item before it is played.
51 *
52 * \param p_instance the playlist instance
53 * \param i_id the item to play. If this is a negative number, the next
54 * item will be selected. Otherwise, the item with the given ID will be
55 * played
56 * \param i_options the number of options to add to the item
57 * \param ppsz_options the options to add to the item
58 */
59LIBVLC_DEPRECATED LIBVLC_API
60void libvlc_playlist_play( libvlc_instance_t *p_instance, int i_id,
61 int i_options, char **ppsz_options );
62
63/** @}*/
64
65# ifdef __cplusplus
66}
67# endif
68
69#endif /* _LIBVLC_DEPRECATED_H */
70