foobar2000 SDK  2015-01-14
Public Member Functions
metadb_io_callbackabstract

#include <metadb.h>

+ Inheritance diagram for metadb_io_callback:

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 ()
 

Detailed Description

Callback service receiving notifications about metadb contents changes.

Definition at line 192 of file metadb.h.

Member Function Documentation

metadb_io_callback::FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT ( metadb_io_callback  )
virtual void metadb_io_callback::on_changed_sorted ( metadb_handle_list_cref  p_items_sorted,
bool  p_fromhook 
)
pure virtual

Called when metadb contents change. (Or, one of display hook component requests display update).

Parameters
p_items_sortedList 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_fromhookSet 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.

The documentation for this class was generated from the following file: