sbAlbumArtService Class Reference

#include <sbAlbumArtService.h>

Inheritance diagram for sbAlbumArtService:
[legend]
Collaboration diagram for sbAlbumArtService:
[legend]

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...
 

Detailed Description

This class implements the album art service component.

Definition at line 98 of file sbAlbumArtService.h.

Constructor & Destructor Documentation

sbAlbumArtService::sbAlbumArtService ( )

Construct an album art service instance.

Definition at line 500 of file sbAlbumArtService.cpp.

sbAlbumArtService::~sbAlbumArtService ( )
virtual

Destroy an album art service instance.

Definition at line 516 of file sbAlbumArtService.cpp.

Member Function Documentation

nsresult sbAlbumArtService::Initialize ( )

Initialize the album art service.

Definition at line 527 of file sbAlbumArtService.cpp.


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