foobar2000 SDK  2015-08-03
Public Member Functions
library_callbackabstract

#include <library_manager.h>

+ Inheritance diagram for library_callback:

Public Member Functions

 FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT (library_callback)
 
virtual void on_items_added (const pfc::list_base_const_t< metadb_handle_ptr > &p_data)=0
 
virtual void on_items_modified (const pfc::list_base_const_t< metadb_handle_ptr > &p_data)=0
 
virtual void on_items_removed (const pfc::list_base_const_t< metadb_handle_ptr > &p_data)=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 Media Library content changes. Methods called only from main thread.
Use library_callback_factory_t template to register.

Definition at line 116 of file library_manager.h.

Member Function Documentation

library_callback::FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT ( library_callback  )
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_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.

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.


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