6 virtual void initialize() = 0;
9 virtual void shutdown() = 0;
23 bool can_remove() {
return (get_flags() & flag_removable) != 0;}
36 virtual GUID get_selection_type() = 0;
48 virtual void reorder_items(
const t_size * order,
t_size count) = 0;
51 const t_size total = get_item_count();
56 virtual void search() = 0;
58 virtual void undo_backup() = 0;
59 virtual void undo_restore() = 0;
60 virtual void redo_restore() = 0;
64 virtual t_size query_insert_mark() = 0;
67 const t_size count = get_item_count();
81 get_selected_items(temp);
97 for(n=0,ptr=0;n<count;n++) {
101 t_size v = order_temp[ptr++];
102 order[n] = sel_map[v];
108 reorder_items(order.
get_ptr(), count);
116 virtual t_size get_playlist_number() = 0;
122 virtual t_uint32 set_context(ui_edit_context::ptr context) = 0;
123 virtual void unset_context(
t_uint32 id) = 0;
124 virtual ui_edit_context::ptr get_context() = 0;
125 virtual ui_edit_context::ptr create_playlist_context(
t_size playlist_number) = 0;
126 virtual void disable_autofallback() = 0;
127 virtual t_uint32 set_context_active_playlist() = 0;
virtual void select_all()
bool test_flags(t_uint32 flags)
const t_item * get_ptr() const
Generic variable bit_array implementation. Needs to be initialized with requested array size before ...
Bit array interface class, constant version (you can only retrieve values). Range of valid indexes d...
Negation of another array. Valid index range is the same as valid index range of the parameter array...
virtual void set(t_size n, bool val)=0
virtual void crop_selection()
void set_size(t_size p_size)
Base class for all service classes. Provides interfaces for reference counter and querying for differ...
Bit array interface class, variable version (you can both set and retrieve values). As with the constant version, valid index range depends on the context.
virtual void select_none()
virtual t_size get_selection_count(t_size max=~0)
bool is_item_selected(HWND p_listview, unsigned p_index)
virtual void remove_selection()
virtual void get_all_items(metadb_handle_list_ref out)
virtual void get_selected_items(metadb_handle_list_ref out)
virtual void get_selection_mask(pfc::bit_array_var &out)
void sort_by_format(const char *spec, bool onlySelection)
Helper template used to easily access core services. Usage: static_api_ptr_t<myclass> api; api->doso...