#include <metadb.h>

Public Types | |
| typedef metadb_hint_list | t_interface |
| typedef service_base | t_interface_parent |
Public Member Functions | |
| virtual void | add_hint (metadb_handle_ptr const &p_location, const file_info &p_info, const t_filestats &p_stats, bool p_freshflag)=0 |
| virtual void | add_hint_reader (const char *p_path, service_ptr_t< input_info_reader > const &p_reader, abort_callback &p_abort)=0 |
| Reads info from specified info reader instance and adds hints. May throw an exception in case info read has failed. | |
| virtual void | on_done ()=0 |
| Call this when you're done working with this metadb_hint_list instance, to apply hints and dispatch callbacks. If you don't call this, all added hints will be ignored. | |
Static Public Attributes | |
| static const GUID | class_guid = { 0x719dc072, 0x8d4d, 0x4aa6, { 0xa6, 0xf3, 0x90, 0x73, 0x7, 0xe5, 0xbc, 0xee } } |
Reimplemented from service_base.
| virtual void metadb_hint_list::add_hint | ( | metadb_handle_ptr const & | p_location, | |
| const file_info & | p_info, | |||
| const t_filestats & | p_stats, | |||
| bool | p_freshflag | |||
| ) | [pure virtual] |
Adds a hint to the list.
| p_location | Location of the item the hint applies to. | |
| p_info | file_info object describing the item. | |
| p_stats | Information about the file containing item the hint applies to. | |
| p_freshflag | Set to true if the info has been directly read from the file, false if it comes from another source such as a playlist file. |
| virtual void metadb_hint_list::add_hint_reader | ( | const char * | p_path, | |
| service_ptr_t< input_info_reader > const & | p_reader, | |||
| abort_callback & | p_abort | |||
| ) | [pure virtual] |
Reads info from specified info reader instance and adds hints. May throw an exception in case info read has failed.
| virtual void metadb_hint_list::on_done | ( | ) | [pure virtual] |
Call this when you're done working with this metadb_hint_list instance, to apply hints and dispatch callbacks. If you don't call this, all added hints will be ignored.
const GUID metadb_hint_list::class_guid = { 0x719dc072, 0x8d4d, 0x4aa6, { 0xa6, 0xf3, 0x90, 0x73, 0x7, 0xe5, 0xbc, 0xee } } [static] |
1.5.5