sbMetadataAlbumArtFetcher Class Reference

#include <sbMetadataAlbumArtFetcher.h>

Inheritance diagram for sbMetadataAlbumArtFetcher:
Collaboration diagram for sbMetadataAlbumArtFetcher:

Public Member Functions

sbMetadataAlbumArtFetcher ()
virtual ~sbMetadataAlbumArtFetcher ()
nsresult Initialize ()
- Public Member Functions inherited from sbIAlbumArtFetcher
void fetchAlbumArtForAlbum (in nsIArray aMediaItems, in sbIAlbumArtListener aListener)
 Try to fetch album art for a list of items that belong to the same album. This function infers that all items in the list are from the same album. More...
void fetchAlbumArtForTrack (in sbIMediaItem aMediaItem, in sbIAlbumArtListener aListener)
 Try to fetch album art for a single track. More...
void shutdown ()

Additional Inherited Members

- Public Attributes inherited from sbIAlbumArtFetcher
readonly attribute AString shortName
 Short name of AlbumArtFetcher. More...
readonly attribute AString name
 Name of AlbumArtFetcher to display to the user on things like menus. More...
readonly attribute AString description
 Description of the AlbumArtFetcher to display to the user. More...
readonly attribute boolean isLocal
 Flag to indicate if this Fetcher fetches from local sources. More...
attribute boolean isEnabled
 Flag to indicate if this Fetcher is enabled or not. More...
attribute PRInt32 priority
 Priority of this fetcher, a lower number represents a higher priority (so 0 is higher than 10). If multiple fetchers have the same priority then it is first come first serve at that priority. The priorities should not fall below 0 except where a priority of -1 will mean to append to end of list (so it will be the lowest priority). More...
attribute nsIArray albumArtSourceList
 List of sources of album art (e.g., sbIMetadataHandler). More...
readonly attribute boolean isFetching
 Flag to indicate if this fetcher is currently fetching. More...

Detailed Description

This class implements the metadata album art fetcher component.

Definition at line 92 of file sbMetadataAlbumArtFetcher.h.

Constructor & Destructor Documentation

sbMetadataAlbumArtFetcher::sbMetadataAlbumArtFetcher ( )

Construct a metadata album art fetcher instance.

Definition at line 359 of file sbMetadataAlbumArtFetcher.cpp.

sbMetadataAlbumArtFetcher::~sbMetadataAlbumArtFetcher ( )

Destroy a metadata album art fetcher instance.

Definition at line 374 of file sbMetadataAlbumArtFetcher.cpp.

Member Function Documentation

nsresult sbMetadataAlbumArtFetcher::Initialize ( )

Initialize the metadata album art fetcher.

Definition at line 385 of file sbMetadataAlbumArtFetcher.cpp.

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