Commit d057b0df authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

playlist: playlist_NodeAddInput was noted as deprecated in docs, remove it from exported symbols.

parent 0a1480ee
......@@ -368,7 +368,6 @@ VLC_EXPORT( int, playlist_ItemSetName, (playlist_item_t *, const char * ) );
VLC_EXPORT( int, playlist_Add, ( playlist_t *, const char *, const char *, int, int, bool, bool ) );
VLC_EXPORT( int, playlist_AddExt, ( playlist_t *, const char *, const char *, int, int, mtime_t, const char *const *,int, bool, bool ) );
VLC_EXPORT( int, playlist_AddInput, ( playlist_t *, input_item_t *, int, int, bool, bool ) );
VLC_EXPORT( playlist_item_t *, playlist_NodeAddInput, ( playlist_t *, input_item_t *,playlist_item_t *,int , int, bool ) );
VLC_EXPORT( int, playlist_BothAddInput, ( playlist_t *, input_item_t *,playlist_item_t *,int , int, int*, int*, bool ) );
/********************** Misc item operations **********************/
......
......@@ -1287,8 +1287,8 @@ bool PlaylistFileDropTarget::OnDropFiles( wxCoord x, wxCoord y,
char *psz_utf8 = wxDnDFromLocale( filenames[i] );
input_item_t *p_input = input_ItemNew( p->p_playlist,
psz_utf8, psz_utf8 );
int i_ret = ( playlist_NodeAddInput( p->p_playlist, p_input, p_dest,
PLAYLIST_PREPARSE, i_pos, false ) != VLC_SUCCESS );
int i_ret = ( playlist_BothAddInput( p->p_playlist, p_input, p_dest,
PLAYLIST_PREPARSE, i_pos, NULL, NULL, pl_Unlocked ) != VLC_SUCCESS );
vlc_gc_decref( p_input );
wxDnDLocaleFree( psz_utf8 );
if( i_ret != VLC_SUCCESS )
......
......@@ -259,7 +259,6 @@ playlist_ItemNewWithType
playlist_ItemSetName
playlist_ItemToNode
playlist_LiveSearchUpdate
playlist_NodeAddInput
playlist_NodeAppend
playlist_NodeChildrenCount
playlist_NodeCreate
......
......@@ -98,6 +98,9 @@ int playlist_MLDump( playlist_t *p_playlist );
void playlist_SendAddNotify( playlist_t *p_playlist, int i_item_id,
int i_node_id, bool b_signal );
playlist_item_t * playlist_NodeAddInput( playlist_t *, input_item_t *,
playlist_item_t *,int , int, bool );
/* Tree walking */
playlist_item_t *playlist_ItemFindFromInputAndRoot( playlist_t *p_playlist,
int i_input_id, playlist_item_t *p_root,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment