foobar2000 SDK
2015-08-03
|
#include <metadb.h>
Public Member Functions | |
FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT (metadb_io_callback) | |
virtual void | on_changed_sorted (metadb_handle_list_cref p_items_sorted, bool p_fromhook)=0 |
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 () |
Additional Inherited Members | |
Public Types inherited from service_base | |
typedef service_base | t_interface |
Protected Member Functions inherited from service_base | |
service_base () | |
~service_base () | |
Callback service receiving notifications about metadb contents changes.
metadb_io_callback::FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT | ( | metadb_io_callback | ) |
|
pure virtual |
Called when metadb contents change. (Or, one of display hook component requests display update).
p_items_sorted | List of items that have been updated. The list is always sorted by pointer value, to allow fast bsearch to test whether specific item has changed. |
p_fromhook | Set to true when actual file contents haven't changed but one of metadb_display_field_provider implementations requested an update so output of metadb_handle::format_title() etc has changed. |