#include <sbAlbumArtService.h>
Public Member Functions | |
NS_DECL_ISUPPORTS NS_DECL_SBIALBUMARTSERVICE NS_DECL_NSIOBSERVER | sbAlbumArtService () |
virtual | ~sbAlbumArtService () |
nsresult | Initialize () |
Public Member Functions inherited from sbIAlbumArtService | |
nsIArray | getFetcherList (in unsigned long type, [optional] in boolean includeDisabled) |
boolean | imageIsValidAlbumArt (in AUTF8String aMimeType, [const, array, size_is(aDataLen)] in octet aData, in unsigned long aDataLen) |
Determine whether the image specified by aData and aDataLen of type specified by aMimeType is a valid album art image. Return true if so. More... | |
nsIURI | cacheImage (in AUTF8String aMimeType, [const, array, size_is(aDataLen)] in octet aData, in unsigned long aDataLen) |
Write the album art image specified by aData and aDataLen of type specified by aMimeType to a cache file and return the cache file URL. More... | |
void | cacheTemporaryData (in AString aKey, in nsISupports aData) |
Add arbitrary data to a temporary cache. More... | |
nsISupports | retrieveTemporaryData (in AString aKey) |
Get data previously placed into the temporary cache. More... | |
This class implements the album art service component.
Definition at line 98 of file sbAlbumArtService.h.
sbAlbumArtService::sbAlbumArtService | ( | ) |
Construct an album art service instance.
Definition at line 500 of file sbAlbumArtService.cpp.
|
virtual |
Destroy an album art service instance.
Definition at line 516 of file sbAlbumArtService.cpp.
nsresult sbAlbumArtService::Initialize | ( | ) |
Initialize the album art service.
Definition at line 527 of file sbAlbumArtService.cpp.