#include <sbFileAlbumArtFetcher.h>
Public Member Functions | |
NS_DECL_ISUPPORTS NS_DECL_SBIALBUMARTFETCHER | sbFileAlbumArtFetcher () |
virtual | ~sbFileAlbumArtFetcher () |
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... | |
This class implements the local file album art fetcher component.
Definition at line 99 of file sbFileAlbumArtFetcher.h.
sbFileAlbumArtFetcher::sbFileAlbumArtFetcher | ( | ) |
Construct a local file album art fetcher instance.
Definition at line 334 of file sbFileAlbumArtFetcher.cpp.
|
virtual |
Destroy a local file album art fetcher instance.
Definition at line 343 of file sbFileAlbumArtFetcher.cpp.
nsresult sbFileAlbumArtFetcher::Initialize | ( | ) |
Initialize the local file album art fetcher.
Definition at line 353 of file sbFileAlbumArtFetcher.cpp.