VLC 4.0.0-dev
|
Go to the source code of this file.
Data Structures | |
struct | vlc_playlist_listener_id |
struct | vlc_playlist_state |
Macros | |
#define | vlc_playlist_listener_foreach(listener, playlist) vlc_list_foreach(listener, &(playlist)->listeners, node) |
#define | vlc_playlist_NotifyListener(playlist, listener, event, ...) |
#define | vlc_playlist_Notify(playlist, event, ...) |
Typedefs | |
typedef struct vlc_playlist | vlc_playlist_t |
Functions | |
void | vlc_playlist_state_Save (vlc_playlist_t *playlist, struct vlc_playlist_state *state) |
void | vlc_playlist_state_NotifyChanges (vlc_playlist_t *playlist, struct vlc_playlist_state *saved_state) |
void | vlc_playlist_NotifyMediaUpdated (vlc_playlist_t *playlist, input_item_t *media) |
#define vlc_playlist_listener_foreach | ( | listener, | |
playlist | |||
) | vlc_list_foreach(listener, &(playlist)->listeners, node) |
#define vlc_playlist_Notify | ( | playlist, | |
event, | |||
... | |||
) |
#define vlc_playlist_NotifyListener | ( | playlist, | |
listener, | |||
event, | |||
... | |||
) |
typedef struct vlc_playlist vlc_playlist_t |
void vlc_playlist_NotifyMediaUpdated | ( | vlc_playlist_t * | playlist, |
input_item_t * | media | ||
) |
References vlc_playlist::current, playlist_item_vector_t::data, vlc_playlist::items, vlc_playlist_item::media, vlc_playlist_AssertLocked(), vlc_playlist_HasItemUpdatedListeners(), vlc_playlist_IndexOfMedia(), and vlc_playlist_Notify.
Referenced by on_player_media_length_changed(), and on_player_media_meta_changed().
void vlc_playlist_state_NotifyChanges | ( | vlc_playlist_t * | playlist, |
struct vlc_playlist_state * | saved_state | ||
) |
References vlc_playlist_state::current, vlc_playlist::current, vlc_playlist_state::has_next, vlc_playlist::has_next, vlc_playlist_state::has_prev, vlc_playlist::has_prev, and vlc_playlist_Notify.
Referenced by player_on_current_media_changed(), vlc_playlist_ItemReplaced(), vlc_playlist_ItemsInserted(), vlc_playlist_ItemsMoved(), vlc_playlist_ItemsRemoved(), vlc_playlist_ItemsReset(), vlc_playlist_PlaybackOrderChanged(), vlc_playlist_PlaybackRepeatChanged(), vlc_playlist_SetCurrentIndex(), vlc_playlist_Shuffle(), and vlc_playlist_Sort().
void vlc_playlist_state_Save | ( | vlc_playlist_t * | playlist, |
struct vlc_playlist_state * | state | ||
) |
References vlc_playlist::current, vlc_playlist::has_next, vlc_playlist::has_prev, and state.
Referenced by player_on_current_media_changed(), vlc_playlist_ItemReplaced(), vlc_playlist_ItemsInserted(), vlc_playlist_ItemsMoved(), vlc_playlist_ItemsRemoved(), vlc_playlist_ItemsReset(), vlc_playlist_PlaybackOrderChanged(), vlc_playlist_PlaybackRepeatChanged(), vlc_playlist_SetCurrentIndex(), vlc_playlist_Shuffle(), and vlc_playlist_Sort().