use VLC_DEPRECATED_API as needed
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 13 May 2009 18:48:07 +0000 (21:48 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 13 May 2009 18:48:07 +0000 (21:48 +0300)
include/vlc/deprecated.h

index e3c0d56..886dfdb 100644 (file)
@@ -58,7 +58,7 @@ extern "C" {
  *        should render its video
  * \param p_e an initialized exception pointer
  */
-VLC_PUBLIC_API void libvlc_media_player_set_drawable ( libvlc_media_player_t *, libvlc_drawable_t, libvlc_exception_t * );
+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
@@ -68,7 +68,7 @@ VLC_PUBLIC_API void libvlc_media_player_set_drawable ( libvlc_media_player_t *,
  * \return the libvlc_drawable_t where the media player
  *         should render its video
  */
-VLC_PUBLIC_API libvlc_drawable_t
+VLC_DEPRECATED_API libvlc_drawable_t
                     libvlc_media_player_get_drawable ( libvlc_media_player_t *, libvlc_exception_t * );
 
 /**
@@ -82,7 +82,7 @@ VLC_PUBLIC_API libvlc_drawable_t
  * \param p_e an initialized exception pointer
  * @deprecated Use libvlc_media_player_set_drawable
  */
-VLC_PUBLIC_API void libvlc_video_set_parent( libvlc_instance_t *, libvlc_drawable_t, libvlc_exception_t * );
+VLC_DEPRECATED_API void libvlc_video_set_parent( libvlc_instance_t *, libvlc_drawable_t, libvlc_exception_t * );
 
 /**
  * Set the default video output parent.
@@ -94,7 +94,7 @@ VLC_PUBLIC_API void libvlc_video_set_parent( libvlc_instance_t *, libvlc_drawabl
  * \param p_e an initialized exception pointer
  * @deprecated Use libvlc_media_player_get_drawable
  */
-VLC_PUBLIC_API libvlc_drawable_t libvlc_video_get_parent( libvlc_instance_t *, libvlc_exception_t * );
+VLC_DEPRECATED_API libvlc_drawable_t libvlc_video_get_parent( libvlc_instance_t *, libvlc_exception_t * );
 
 /**
  * Change the parent for the current the video output.