diff options
Diffstat (limited to 'src/playlist_global.c')
-rw-r--r-- | src/playlist_global.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/src/playlist_global.c b/src/playlist_global.c index fa810bbc3..4f8374494 100644 --- a/src/playlist_global.c +++ b/src/playlist_global.c @@ -40,7 +40,8 @@ playlist_event(void) syncPlayerAndPlaylist(&g_playlist); } -void initPlaylist(void) +void +playlist_global_init(void) { playlist_init(&g_playlist); @@ -48,17 +49,8 @@ void initPlaylist(void) event_pipe_register(PIPE_EVENT_PLAYLIST, playlist_event); } -void finishPlaylist(void) +void +playlist_global_finish(void) { playlist_finish(&g_playlist); } - -void savePlaylistState(FILE *fp) -{ - playlist_state_save(fp, &g_playlist); -} - -void readPlaylistState(FILE *fp) -{ - playlist_state_restore(fp, &g_playlist); -} |