metadb_io_callback Class Reference

Callback service receiving notifications about metadb contents changes. More...

#include <metadb.h>

Inheritance diagram for metadb_io_callback:

service_base

List of all members.

Public Types

typedef metadb_io_callback t_interface_entrypoint
typedef metadb_io_callback t_interface
typedef service_base t_interface_parent

Public Member Functions

virtual void on_changed_sorted (metadb_handle_list_cref p_items_sorted, bool p_fromhook)=0

Static Public Attributes

static const GUID class_guid


Detailed Description

Callback service receiving notifications about metadb contents changes.

Member Typedef Documentation

Reimplemented from service_base.


Member Function Documentation

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_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.


Member Data Documentation

const GUID metadb_io_callback::class_guid [static]

Initial value:

 
{ 0xd5286bb4, 0xfded, 0x47ef, { 0xa6, 0x23, 0x4c, 0x3f, 0xf0, 0x56, 0xde, 0xc1 } }


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

Generated on Thu Aug 28 21:15:54 2008 for foobar2000 SDK by  doxygen 1.5.5