10 filesystem::g_get_canonical_path(p_new_path,path);
45 t_size playlist_count = api->get_playlist_count();
46 t_size active_playlist = api->get_active_playlist();
47 if (active_playlist != ~0) {
48 if (api->playlist_get_focus_item_handle(p_out,active_playlist))
return true;
51 for(
t_size n = 0; n < playlist_count; n++) {
52 if (api->playlist_get_focus_item_handle(p_out,n))
return true;
55 if (active_playlist != ~0) {
56 t_size item_count = api->playlist_get_item_count(active_playlist);
58 if (api->playlist_get_item_handle(p_out,active_playlist,0))
return true;
62 for(
t_size n = 0; n < playlist_count; n++) {
63 t_size item_count = api->playlist_get_item_count(n);
65 if (api->playlist_get_item_handle(p_out,n,0))
return true;
Template implementing reference-counting features of service_base. Intended for dynamic instantiation...
Main interface class for information about some playable object.