foobar2000 SDK
2015-08-03
|
#include <playlist.h>
Public Types | |
enum | { flag_on_items_added = 1 << 0, flag_on_items_reordered = 1 << 1, flag_on_items_removing = 1 << 2, flag_on_items_removed = 1 << 3, flag_on_items_selection_change = 1 << 4, flag_on_item_focus_change = 1 << 5, flag_on_items_modified = 1 << 6, flag_on_items_modified_fromplayback = 1 << 7, flag_on_items_replaced = 1 << 8, flag_on_item_ensure_visible = 1 << 9, flag_on_playlist_switch = 1 << 10, flag_on_playlist_renamed = 1 << 11, flag_on_playlist_locked = 1 << 12, flag_on_default_format_changed = 1 << 13, flag_on_playback_order_changed = 1 << 14, flag_all = ~0 } |
Public Member Functions | |
virtual void | on_default_format_changed ()=0 |
virtual void | on_item_ensure_visible (t_size p_idx)=0 |
virtual void | on_item_focus_change (t_size p_from, t_size p_to)=0 |
virtual void | on_items_added (t_size p_base, const pfc::list_base_const_t< metadb_handle_ptr > &p_data, const bit_array &p_selection)=0 |
virtual void | on_items_modified (const bit_array &p_mask)=0 |
virtual void | on_items_modified_fromplayback (const bit_array &p_mask, play_control::t_display_level p_level)=0 |
virtual void | on_items_removed (const bit_array &p_mask, t_size p_old_count, t_size p_new_count)=0 |
virtual void | on_items_removing (const bit_array &p_mask, t_size p_old_count, t_size p_new_count)=0 |
virtual void | on_items_reordered (const t_size *p_order, t_size p_count)=0 |
virtual void | on_items_replaced (const bit_array &p_mask, const pfc::list_base_const_t< playlist_callback::t_on_items_replaced_entry > &p_data)=0 |
virtual void | on_items_selection_change (const bit_array &p_affected, const bit_array &p_state)=0 |
virtual void | on_playback_order_changed (t_size p_new_index)=0 |
virtual void | on_playlist_locked (bool p_locked)=0 |
virtual void | on_playlist_renamed (const char *p_new_name, t_size p_new_name_len)=0 |
virtual void | on_playlist_switch ()=0 |
Protected Member Functions | |
playlist_callback_single () | |
~playlist_callback_single () | |
Definition at line 583 of file playlist.h.
anonymous enum |
Definition at line 604 of file playlist.h.
|
inlineprotected |
Definition at line 623 of file playlist.h.
|
inlineprotected |
Definition at line 624 of file playlist.h.
|
pure virtual |
Implemented in playlist_callback_single_impl_base.
|
pure virtual |
Implemented in playlist_callback_single_impl_base.
|
pure virtual |
Implemented in playlist_callback_single_impl_base.
|
pure virtual |
Implemented in playlist_callback_single_impl_base.
|
pure virtual |
Implemented in playlist_callback_single_impl_base.
|
pure virtual |
Implemented in playlist_callback_single_impl_base.
|
pure virtual |
Implemented in playlist_callback_single_impl_base.
|
pure virtual |
Implemented in playlist_callback_single_impl_base.
|
pure virtual |
Implemented in playlist_callback_single_impl_base.
|
pure virtual |
Implemented in playlist_callback_single_impl_base.
|
pure virtual |
Implemented in playlist_callback_single_impl_base.
|
pure virtual |
Implemented in playlist_callback_single_impl_base.
|
pure virtual |
Implemented in playlist_lock_change_notify, and playlist_callback_single_impl_base.
|
pure virtual |
Implemented in playlist_callback_single_impl_base.
|
pure virtual |
Implemented in playlist_lock_change_notify, and playlist_callback_single_impl_base.