foobar2000 SDK  2015-08-03
Public Member Functions | Private Member Functions
album_art_extractor_instanceabstract

#include <album_art.h>

+ Inheritance diagram for album_art_extractor_instance:

Public Member Functions

virtual album_art_data_ptr query (const GUID &p_what, abort_callback &p_abort)=0
 
bool query (const GUID &what, album_art_data::ptr &out, abort_callback &abort)
 
- 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 ()
 

Private Member Functions

 FB2K_MAKE_SERVICE_INTERFACE (album_art_extractor_instance, service_base)
 

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

Class encapsulating access to album art stored in a media file. Use album_art_extractor class obtain album_art_extractor_instance referring to specified media file.

Definition at line 46 of file album_art.h.

Member Function Documentation

album_art_extractor_instance::FB2K_MAKE_SERVICE_INTERFACE ( album_art_extractor_instance  ,
service_base   
)
private
virtual album_art_data_ptr album_art_extractor_instance::query ( const GUID p_what,
abort_callback p_abort 
)
pure virtual

Throws exception_album_art_not_found when the requested album art entry could not be found in the referenced media file.

Implemented in album_art_extractor_instance_fileref, and album_art_extractor_instance_simple.

bool album_art_extractor_instance::query ( const GUID what,
album_art_data::ptr &  out,
abort_callback abort 
)
inline

Definition at line 52 of file album_art.h.

52  {
53  try { out = query(what, abort); return true; } catch(exception_album_art_not_found) { return false; }
54  }
virtual album_art_data_ptr query(const GUID &p_what, abort_callback &p_abort)=0
Throws exception_album_art_not_found when the requested album art entry could not be found in the ref...

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