foobar2000 SDK
2015-08-03
|
#include <ui_edit_context.h>
Private Types | |
enum | { flag_removable = 1, flag_reorderable = 2, flag_undoable = 4, flag_redoable = 8, flag_linearlist = 16, flag_searchable = 32, flag_insertable = 64 } |
Private Member Functions | |
bool | can_remove () |
bool | can_remove_mask () |
bool | can_reorder () |
bool | can_search () |
virtual void | clear () |
virtual void | crop_selection () |
virtual void | get_all_items (metadb_handle_list_ref out) |
virtual t_uint32 | get_flags ()=0 |
virtual metadb_handle_ptr | get_item (t_size index)=0 |
virtual t_size | get_item_count (t_size max=~0)=0 |
virtual void | get_items (metadb_handle_list_ref out, pfc::bit_array const &mask)=0 |
virtual void | get_selected_items (metadb_handle_list_ref out) |
virtual t_size | get_selection_count (t_size max=~0) |
virtual void | get_selection_mask (pfc::bit_array_var &out) |
virtual GUID | get_selection_type ()=0 |
virtual void | insert_items (t_size at, metadb_handle_list_cref items, pfc::bit_array const &selection)=0 |
virtual bool | is_item_selected (t_size item)=0 |
virtual t_size | query_insert_mark ()=0 |
virtual void | redo_restore ()=0 |
virtual void | remove_items (pfc::bit_array const &mask)=0 |
virtual void | remove_selection () |
virtual void | reorder_items (const t_size *order, t_size count)=0 |
virtual void | search ()=0 |
virtual void | select_all () |
virtual void | select_none () |
virtual FB2K_MAKE_SERVICE_INTERFACE(ui_edit_context, service_base) public void | shutdown ()=0 |
void | sort_by_format (const char *spec, bool onlySelection) |
bool | test_flags (t_uint32 flags) |
virtual void | undo_backup ()=0 |
virtual void | undo_restore ()=0 |
virtual void | update_selection (const pfc::bit_array &mask, const pfc::bit_array &newVals)=0 |
Additional Inherited Members | |
Public Types inherited from service_base | |
typedef service_base | t_interface |
Public Member Functions inherited from service_base | |
template<typename outPtr_t > | |
bool | cast (outPtr_t &outPtr) |
virtual int | service_add_ref ()=0 throw () |
virtual bool | service_query (service_ptr_t< service_base > &p_out, const GUID &p_guid) |
template<class T > | |
bool | service_query_t (service_ptr_t< T > &p_out) |
virtual int | service_release ()=0 throw () |
Protected Member Functions inherited from service_base | |
service_base () | |
~service_base () | |
Definition at line 2 of file ui_edit_context.h.
|
private |
Enumerator | |
---|---|
flag_removable | |
flag_reorderable | |
flag_undoable | |
flag_redoable | |
flag_linearlist | |
flag_searchable | |
flag_insertable |
Definition at line 11 of file ui_edit_context.h.
|
inlineprivate |
Definition at line 23 of file ui_edit_context.h.
|
inlineprivate |
Definition at line 25 of file ui_edit_context.h.
|
inlineprivate |
Definition at line 26 of file ui_edit_context.h.
|
inlineprivate |
Definition at line 27 of file ui_edit_context.h.
|
inlineprivatevirtual |
Definition at line 34 of file ui_edit_context.h.
|
inlineprivatevirtual |
Definition at line 33 of file ui_edit_context.h.
|
inlineprivatevirtual |
Definition at line 35 of file ui_edit_context.h.
|
privatepure virtual |
|
privatepure virtual |
|
privatepure virtual |
|
inlineprivatevirtual |
Definition at line 31 of file ui_edit_context.h.
Definition at line 49 of file ui_edit_context.h.
|
inlineprivatevirtual |
Definition at line 39 of file ui_edit_context.h.
|
privatepure virtual |
|
privatepure virtual |
|
privatepure virtual |
|
privatepure virtual |
|
privatepure virtual |
|
privatepure virtual |
|
inlineprivatevirtual |
Definition at line 32 of file ui_edit_context.h.
|
privatepure virtual |
|
privatepure virtual |
|
inlineprivatevirtual |
Definition at line 29 of file ui_edit_context.h.
|
inlineprivatevirtual |
Definition at line 30 of file ui_edit_context.h.
|
privatepure virtual |
Called by core only.
WARNING: you may get other methods called after shutdown() in case someone using ui_edit_context_manager has kept a reference to your service - for an example during an async operation. You should behave sanely in such case - either execute the operation if still possible or fail cleanly.
|
inlineprivate |
Definition at line 66 of file ui_edit_context.h.
|
inlineprivate |
Definition at line 24 of file ui_edit_context.h.
|
privatepure virtual |
|
privatepure virtual |
|
privatepure virtual |