deprecated.h

Go to the documentation of this file.
00001 /*****************************************************************************
00002  * deprecated.h:  libvlc deprecated API
00003  *****************************************************************************
00004  * Copyright (C) 1998-2008 VLC authors and VideoLAN
00005  * $Id: 7f55090fcd482489ceed9145ce2253e78fa6fd2a $
00006  *
00007  * Authors: Clément Stenac <zorglub@videolan.org>
00008  *          Jean-Paul Saman <jpsaman@videolan.org>
00009  *
00010  * This program is free software; you can redistribute it and/or modify it
00011  * under the terms of the GNU Lesser General Public License as published by
00012  * the Free Software Foundation; either version 2.1 of the License, or
00013  * (at your option) any later version.
00014  *
00015  * This program is distributed in the hope that it will be useful,
00016  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00017  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00018  * GNU Lesser General Public License for more details.
00019  *
00020  * You should have received a copy of the GNU Lesser General Public License
00021  * along with this program; if not, write to the Free Software Foundation,
00022  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
00023  *****************************************************************************/
00024 
00025 #ifndef LIBVLC_DEPRECATED_H
00026 #define LIBVLC_DEPRECATED_H 1
00027 
00028 /**
00029  * \file
00030  * This file defines libvlc deprecated API
00031  */
00032 
00033 # ifdef __cplusplus
00034 extern "C" {
00035 # endif
00036 
00037 /*****************************************************************************
00038  * Playlist (Deprecated)
00039  *****************************************************************************/
00040 /** \defgroup libvlc_playlist LibVLC playlist (legacy)
00041  * \ingroup libvlc
00042  * @deprecated Use @ref libvlc_media_list instead.
00043  * @{
00044  */
00045 
00046 /**
00047  * Start playing (if there is any item in the playlist).
00048  *
00049  * Additionnal playlist item options can be specified for addition to the
00050  * item before it is played.
00051  *
00052  * \param p_instance the playlist instance
00053  * \param i_id the item to play. If this is a negative number, the next
00054  *        item will be selected. Otherwise, the item with the given ID will be
00055  *        played
00056  * \param i_options the number of options to add to the item
00057  * \param ppsz_options the options to add to the item
00058  */
00059 LIBVLC_DEPRECATED LIBVLC_API
00060 void libvlc_playlist_play( libvlc_instance_t *p_instance, int i_id,
00061                            int i_options, char **ppsz_options );
00062 
00063 /** @}*/
00064 
00065 # ifdef __cplusplus
00066 }
00067 # endif
00068 
00069 #endif /* _LIBVLC_DEPRECATED_H */
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines