#include <sbMetadataAlbumArtFetcher.h>
Public Member Functions | |
| NS_DECL_ISUPPORTS NS_DECL_SBIALBUMARTFETCHER | 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... | |
This class implements the metadata album art fetcher component.
Definition at line 92 of file sbMetadataAlbumArtFetcher.h.
| sbMetadataAlbumArtFetcher::sbMetadataAlbumArtFetcher | ( | ) |
Construct a metadata album art fetcher instance.
Definition at line 359 of file sbMetadataAlbumArtFetcher.cpp.
|
virtual |
Destroy a metadata album art fetcher instance.
Definition at line 374 of file sbMetadataAlbumArtFetcher.cpp.
| nsresult sbMetadataAlbumArtFetcher::Initialize | ( | ) |
Initialize the metadata album art fetcher.
Definition at line 385 of file sbMetadataAlbumArtFetcher.cpp.