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

#include <album_art.h>

+ Inheritance diagram for album_art_editor_instance:

Public Member Functions

virtual void commit (abort_callback &p_abort)=0
 
virtual void remove (const GUID &p_what)=0
 
virtual void set (const GUID &p_what, album_art_data_ptr p_data, abort_callback &p_abort)=0
 
- Public Member Functions inherited from album_art_extractor_instance
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_editor_instance, album_art_extractor_instance)
 

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_editor class to obtain album_art_editor_instance referring to specified media file.

Definition at line 58 of file album_art.h.

Member Function Documentation

virtual void album_art_editor_instance::commit ( abort_callback p_abort)
pure virtual

Finalizes file tag update operation.

album_art_editor_instance::FB2K_MAKE_SERVICE_INTERFACE ( album_art_editor_instance  ,
album_art_extractor_instance   
)
private
virtual void album_art_editor_instance::remove ( const GUID p_what)
pure virtual

Removes the requested entry. Fails silently when the entry doesn't exist.

virtual void album_art_editor_instance::set ( const GUID p_what,
album_art_data_ptr  p_data,
abort_callback p_abort 
)
pure virtual

Throws exception_album_art_unsupported_entry when the file format we're dealing with does not support specific entry.


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