29 #ifndef __SB_FILEALBUMARTFETCHER_H__
30 #define __SB_FILEALBUMARTFETCHER_H__
52 #include <sbIAlbumArtFetcher.h>
53 #include <sbIAlbumArtService.h>
58 #include <nsIIOService.h>
59 #include <nsISimpleEnumerator.h>
60 #include <nsIPrefBranch.h>
62 #include <nsStringGlue.h>
63 #include <nsISupportsPrimitives.h>
78 #define SB_FILEALBUMARTFETCHER_CLASSNAME "sbFileAlbumArtFetcher"
79 #define SB_FILEALBUMARTFETCHER_CID \
85 { 0x8c, 0xba, 0xc0, 0x16, 0xcd, 0x6e, 0xdc, 0x82 } \
114 NS_DECL_SBIALBUMARTFETCHER
145 nsCOMPtr<nsIPrefBranch> mPrefService;
146 nsCOMPtr<sbIAlbumArtService> mAlbumArtService;
147 nsCOMPtr<nsIIOService> mIOService;
148 nsTArray<nsString> mFileExtensionList;
149 nsTArray<nsString> mFileBaseNameList;
150 nsCOMPtr<nsIArray> mAlbumArtSourceList;
157 nsresult GetURLDirEntries(nsIURL* aURL,
158 PRBool* aIsLocalFile,
162 nsIFile** aAlbumArtFile);
166 #endif // __SB_FILEALBUMARTFETCHER_H__
NS_DECL_ISUPPORTS NS_DECL_SBIALBUMARTFETCHER sbFileAlbumArtFetcher()
virtual ~sbFileAlbumArtFetcher()
Interface for an album art fetcher. Instantiate as a component instance.