foobar2000 SDK  2015-08-03
Public Member Functions
play_callback_staticabstract

#include <play_callback.h>

+ Inheritance diagram for play_callback_static:

Public Member Functions

 FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT (play_callback_static)
 
virtual unsigned get_flags ()=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 ()
 
- Public Member Functions inherited from play_callback
virtual void FB2KAPI on_playback_dynamic_info (const file_info &p_info)=0
 
virtual void FB2KAPI on_playback_dynamic_info_track (const file_info &p_info)=0
 
virtual void FB2KAPI on_playback_edited (metadb_handle_ptr p_track)=0
 
virtual void FB2KAPI on_playback_new_track (metadb_handle_ptr p_track)=0
 
virtual void FB2KAPI on_playback_pause (bool p_state)=0
 
virtual void FB2KAPI on_playback_seek (double p_time)=0
 
virtual void FB2KAPI on_playback_starting (play_control::t_track_command p_command, bool p_paused)=0
 
virtual void FB2KAPI on_playback_stop (play_control::t_stop_reason p_reason)=0
 
virtual void FB2KAPI on_playback_time (double p_time)=0
 
virtual void FB2KAPI on_volume_change (float p_new_val)=0
 

Additional Inherited Members

- Public Types inherited from service_base
typedef service_base t_interface
 
- Public Types inherited from play_callback
enum  {
  flag_on_playback_starting = 1 << 0, flag_on_playback_new_track = 1 << 1, flag_on_playback_stop = 1 << 2, flag_on_playback_seek = 1 << 3,
  flag_on_playback_pause = 1 << 4, flag_on_playback_edited = 1 << 5, flag_on_playback_dynamic_info = 1 << 6, flag_on_playback_dynamic_info_track = 1 << 7,
  flag_on_playback_time = 1 << 8, flag_on_volume_change = 1 << 9, flag_on_playback_all
}
 
- Protected Member Functions inherited from service_base
 service_base ()
 
 ~service_base ()
 
- Protected Member Functions inherited from play_callback
 play_callback ()
 
 ~play_callback ()
 

Detailed Description

Static (autoregistered) version of play_callback. Use play_callback_static_factory_t to register.

Definition at line 98 of file play_callback.h.

Member Function Documentation

play_callback_static::FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT ( play_callback_static  )
virtual unsigned play_callback_static::get_flags ( )
pure virtual

Controls which methods your callback wants called; returned value should not change in run time, you should expect it to be queried only once (on startup). See play_callback::flag_* constants.


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