foobar2000 SDK  2015-08-03
Public Member Functions
play_callback_managerabstract

#include <play_callback.h>

+ Inheritance diagram for play_callback_manager:

Public Member Functions

 FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT (play_callback_manager)
 
virtual void FB2KAPI register_callback (play_callback *p_callback, unsigned p_flags, bool p_forward_status_on_register)=0
 
virtual void FB2KAPI unregister_callback (play_callback *p_callback)=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

Standard API (always present); manages registrations of dynamic play_callbacks. Usage: use static_api_ptr_t<play_callback_manager>. Do not reimplement.

Definition at line 54 of file play_callback.h.

Member Function Documentation

play_callback_manager::FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT ( play_callback_manager  )
virtual void FB2KAPI play_callback_manager::register_callback ( play_callback p_callback,
unsigned  p_flags,
bool  p_forward_status_on_register 
)
pure virtual

Registers a play_callback object.

Parameters
p_callbackInterface to register.
p_flagsIndicates which notifications are requested.
p_forward_status_on_registerSet to true to have the callback immediately receive current playback status as notifications if playback is active (eg. to receive info about playback process that started before our callback was registered).
virtual void FB2KAPI play_callback_manager::unregister_callback ( play_callback p_callback)
pure virtual

Unregisters a play_callback object. Previously registered interface to unregister.


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