X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc%2Fdeprecated.h;h=216b1caba458403370a2aad252bcd63a6f5ca33d;hb=12ade3e3bc975d5426ba4af155b7372c31093b31;hp=93053490ec6c97ca53f7f33fb25a711b68ac0b16;hpb=174f75debc6ff4b0b3a7037bc21e7b77bfe2a9d8;p=vlc diff --git a/include/vlc/deprecated.h b/include/vlc/deprecated.h index 93053490ec..216b1caba4 100644 --- a/include/vlc/deprecated.h +++ b/include/vlc/deprecated.h @@ -30,59 +30,21 @@ * This file defines libvlc depreceated API */ -/** - * This is the legacy representation of a platform-specific drawable. Because - * it cannot accomodate a pointer on most 64-bits platforms, it should not be - * used anymore. - */ -typedef int libvlc_drawable_t; - # ifdef __cplusplus extern "C" { # endif -/** - * Set the drawable where the media player should render its video output. - * - * On Windows 32-bits, a window handle (HWND) is expected. - * On Windows 64-bits, this function will always fail. - * - * On OSX 32-bits, a CGrafPort is expected. - * On OSX 64-bits, this function will always fail. - * - * On other platforms, an existing X11 window ID is expected. See - * libvlc_media_player_set_xid() for details. - * - * \param p_mi the Media Player - * \param drawable the libvlc_drawable_t where the media player - * should render its video - * \param p_e an initialized exception pointer - */ -VLC_DEPRECATED_API void libvlc_media_player_set_drawable ( libvlc_media_player_t *, libvlc_drawable_t, libvlc_exception_t * ); - -/** - * Get the drawable where the media player should render its video output - * - * \param p_mi the Media Player - * \param p_e an initialized exception pointer - * \return the libvlc_drawable_t where the media player - * should render its video - */ -VLC_DEPRECATED_API libvlc_drawable_t - libvlc_media_player_get_drawable ( libvlc_media_player_t *, libvlc_exception_t * ); - /***************************************************************************** * Playlist (Deprecated) *****************************************************************************/ -/** \defgroup libvlc_playlist libvlc_playlist (Deprecated) +/** \defgroup libvlc_playlist LibVLC playlist (legacy) * \ingroup libvlc - * LibVLC Playlist handling (Deprecated) - * @deprecated Use media_list + * @deprecated Use @ref libvlc_media_list instead. * @{ */ /** - * Start playing. + * Start playing (if there is any item in the playlist). * * Additionnal playlist item options can be specified for addition to the * item before it is played. @@ -93,10 +55,10 @@ VLC_DEPRECATED_API libvlc_drawable_t * played * \param i_options the number of options to add to the item * \param ppsz_options the options to add to the item - * \param p_e an initialized exception pointer */ -VLC_DEPRECATED_API void libvlc_playlist_play( libvlc_instance_t*, int, int, - char **, libvlc_exception_t * ); +VLC_DEPRECATED_API void libvlc_playlist_play( libvlc_instance_t *p_instance, + int i_id, int i_options, + char **ppsz_options ); /** @}*/