core: playlist: move Expand() to content.c
commit23ed2a71418cb7d014481aa44a1a723bed95cebf
authorRomain Vimont <rom1v@videolabs.io>
Tue, 11 Dec 2018 14:22:11 +0000 (11 15:22 +0100)
committerThomas Guillem <thomas@gllm.fr>
Tue, 8 Jan 2019 12:32:11 +0000 (8 13:32 +0100)
tree1424d11ba6d12429dbe90518afcc79e94e112e4b
parent381aac91b86a87ff74b4be3be7c34c6f02685ab4
core: playlist: move Expand() to content.c

Expanding an item (replacing it by its subitems) was implemented in
preparse.c, essentially because it's only used for preparsing.

For consistency, implement all functions changing the content of the
playlist in content.c. This avoids to expose internal functions
like vlc_playlist_ItemsInserted().

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
src/playlist/content.c
src/playlist/content.h
src/playlist/item.h
src/playlist/preparse.c
src/playlist/preparse.h
src/playlist/test.c