1 #if FOOBAR2000_TARGET_VERSION >= 76 12 entry_directory_enumerated,
17 virtual void on_progress(
const char * p_path) = 0;
24 virtual void on_entry(
const metadb_handle_ptr & p_item,t_entry_type p_type,
const t_filestats & p_stats,
bool p_fresh) = 0;
30 virtual bool want_info(
const metadb_handle_ptr & p_item,t_entry_type p_type,
const t_filestats & p_stats,
bool p_fresh) = 0;
37 virtual void on_entry_info(
const metadb_handle_ptr & p_item,t_entry_type p_type,
const t_filestats & p_stats,
const file_info & p_info,
bool p_fresh) = 0;
44 virtual bool is_path_wanted(
const char * path, t_entry_type type) = 0;
55 virtual void on_entry_info_v2(
const metadb_handle_ptr & p_item,t_entry_type p_type,metadb_info_container::ptr
info,
bool p_fresh) = 0;
56 virtual void on_browse_info_v2(
const metadb_handle_ptr & p_item,t_entry_type p_type,metadb_info_container::ptr info) = 0;
80 virtual const char * get_extension() = 0;
82 virtual bool can_write() = 0;
85 virtual bool is_our_content_type(
const char* p_content_type) = 0;
87 virtual bool is_associatable() = 0;
93 static void g_load_playlist(
const char * p_path,playlist_loader_callback::ptr p_callback,
abort_callback & p_abort);
99 static void g_load_playlist_filehint(file::ptr fileHint,
const char * p_path,playlist_loader_callback::ptr p_callback,
abort_callback & p_abort);
105 static bool g_try_load_playlist(file::ptr fileHint,
const char * p_path,playlist_loader_callback::ptr p_callback,
abort_callback & p_abort);
119 static void g_process_path(
const char * p_path,playlist_loader_callback::ptr p_callback,
abort_callback & p_abort,playlist_loader_callback::t_entry_type p_type = playlist_loader_callback::entry_user_requested);
124 static bool g_process_path_ex(
const char * p_path,playlist_loader_callback::ptr p_callback,
abort_callback & p_abort,playlist_loader_callback::t_entry_type p_type = playlist_loader_callback::entry_user_requested);
129 template<
typename t_my
class>
void info(const char *p_message)
Main interface class for information about some playable object.
Base class for all service classes. Provides interfaces for reference counter and querying for differ...
Service handling playlist file operations. There are multiple implementations handling different play...
void write(const service_ptr_t< file > &p_file, abort_callback &p_abort, const char *p_string, bool is_utf8)
t_uint64 t_filetimestamp
Type used for file timestamp related variables. 64-bit value representing the number of 100-nanosecon...
Callback interface receiving item locations from playlist loader. Typically, you call one of standar...