library_callback Class Reference

#include <library_manager.h>

Inheritance diagram for library_callback:

service_base

List of all members.

Public Types

typedef library_callback t_interface_entrypoint
typedef library_callback t_interface
typedef service_base t_interface_parent

Public Member Functions

virtual void on_items_added (const pfc::list_base_const_t< metadb_handle_ptr > &p_data)=0
 Called when new items are added to the Media Library.
virtual void on_items_removed (const pfc::list_base_const_t< metadb_handle_ptr > &p_data)=0
 Called when some items have been removed from the Media Library.
virtual void on_items_modified (const pfc::list_base_const_t< metadb_handle_ptr > &p_data)=0
 Called when some items in the Media Library have been modified.

Static Public Attributes

static const GUID class_guid


Detailed Description

Callback service receiving notifications about Media Library content changes. Methods called only from main thread.
Use library_callback_factory_t template to register.

Member Typedef Documentation

Reimplemented from service_base.


Member Function Documentation

virtual void library_callback::on_items_added ( const pfc::list_base_const_t< metadb_handle_ptr > &  p_data  )  [pure virtual]

Called when new items are added to the Media Library.

virtual void library_callback::on_items_removed ( const pfc::list_base_const_t< metadb_handle_ptr > &  p_data  )  [pure virtual]

Called when some items have been removed from the Media Library.

virtual void library_callback::on_items_modified ( const pfc::list_base_const_t< metadb_handle_ptr > &  p_data  )  [pure virtual]

Called when some items in the Media Library have been modified.


Member Data Documentation

const GUID library_callback::class_guid [static]

Initial value:

 
{ 0x9a08b50f, 0xe8c6, 0x40c0, { 0x88, 0xc3, 0x75, 0x30, 0xcf, 0x2c, 0x31, 0x15 } }


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

Generated on Fri Apr 25 18:49:45 2008 for foobar2000 SDK by  doxygen 1.5.5