foobar2000 SDK
2015-08-03
|
#include <library_manager.h>
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 () | |
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.
library_callback::FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT | ( | library_callback | ) |
|
pure virtual |
Called when new items are added to the Media Library.
|
pure virtual |
Called when some items in the Media Library have been modified.
|
pure virtual |
Called when some items have been removed from the Media Library.