foobar2000 SDK  2015-08-03
Public Member Functions
playback_statistics_collectorabstract

#include <play_callback.h>

+ Inheritance diagram for playback_statistics_collector:

Public Member Functions

 FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT (playback_statistics_collector)
 
virtual void on_item_played (metadb_handle_ptr p_item)=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

Gets notified about tracks being played. Notification occurs when at least 60s of the track has been played, or the track has reached its end after at least 1/3 of it has been played through. Use playback_statistics_collector_factory_t to register.

Definition at line 112 of file play_callback.h.

Member Function Documentation

playback_statistics_collector::FB2K_MAKE_SERVICE_INTERFACE_ENTRYPOINT ( playback_statistics_collector  )
virtual void playback_statistics_collector::on_item_played ( metadb_handle_ptr  p_item)
pure virtual

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