album_art_extractor_impl_stdtags Class Reference

#include <album_art.h>

Inheritance diagram for album_art_extractor_impl_stdtags:

album_art_extractor service_base

List of all members.

Public Member Functions

 album_art_extractor_impl_stdtags (const char *exts)
bool is_our_path (const char *p_path, const char *p_extension)
album_art_extractor_instance_ptr open (file_ptr p_filehint, const char *p_path, abort_callback &p_abort)


Detailed Description

Helper implementation of album_art_extractor - reads album art from arbitrary file formats that comply with APEv2 tagging specification.
Since:
0.9.5

Constructor & Destructor Documentation

album_art_extractor_impl_stdtags::album_art_extractor_impl_stdtags ( const char *  exts  )  [inline]

Parameters:
exts Semicolon-separated list of file format extensions to support.


Member Function Documentation

bool album_art_extractor_impl_stdtags::is_our_path ( const char *  p_path,
const char *  p_extension 
) [inline, virtual]

Returns whether the specified file is one of formats supported by our album_art_extractor implementation.

Parameters:
p_path Path to file being queried.
p_extension Extension of file being queried (also present in p_path parameter) - provided as a separate parameter for performance reasons.

Implements album_art_extractor.

album_art_extractor_instance_ptr album_art_extractor_impl_stdtags::open ( file_ptr  p_filehint,
const char *  p_path,
abort_callback &  p_abort 
) [inline, virtual]

Instantiates album_art_extractor_instance providing access to album art stored in a specified media file.
Throws one of I/O exceptions on failure; exception_album_art_not_found when the file has no album art record at all.

Parameters:
p_filehint Optional; specifies a file interface to use for accessing the specified file; can be null - in that case, the implementation will open and close the file internally.

Implements album_art_extractor.


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

Generated on Thu Aug 28 21:15:42 2008 for foobar2000 SDK by  doxygen 1.5.5