56 #include <nsICategoryManager.h>
57 #include <nsIGenericFactory.h>
58 #include <nsServiceManagerUtils.h>
77 const
char* aLoaderStr,
79 const nsModuleComponentInfo* aInfo)
84 nsCOMPtr<nsICategoryManager> categoryManager =
85 do_GetService(NS_CATEGORYMANAGER_CONTRACTID,
87 NS_ENSURE_SUCCESS(rv, rv);
90 rv = categoryManager->AddCategoryEntry
97 NS_ENSURE_SUCCESS(rv, rv);
110 const char* aLoaderStr,
111 const nsModuleComponentInfo* aInfo)
116 nsCOMPtr<nsICategoryManager> categoryManager =
117 do_GetService(NS_CATEGORYMANAGER_CONTRACTID,
119 NS_ENSURE_SUCCESS(rv, rv);
122 rv = categoryManager->DeleteCategoryEntry(
"app-startup",
125 NS_ENSURE_SUCCESS(rv, rv);
168 const
char* aLoaderStr,
170 const nsModuleComponentInfo* aInfo)
175 nsCOMPtr<nsICategoryManager> categoryManager =
176 do_GetService(NS_CATEGORYMANAGER_CONTRACTID,
178 NS_ENSURE_SUCCESS(rv, rv);
181 rv = categoryManager->AddCategoryEntry
188 NS_ENSURE_SUCCESS(rv, rv);
201 const char* aLoaderStr,
202 const nsModuleComponentInfo* aInfo)
207 nsCOMPtr<nsICategoryManager> categoryManager =
208 do_GetService(NS_CATEGORYMANAGER_CONTRACTID,
210 NS_ENSURE_SUCCESS(rv, rv);
216 NS_ENSURE_SUCCESS(rv, rv);
239 const
char* aLoaderStr,
241 const nsModuleComponentInfo* aInfo)
246 nsCOMPtr<nsICategoryManager> categoryManager =
247 do_GetService(NS_CATEGORYMANAGER_CONTRACTID,
249 NS_ENSURE_SUCCESS(rv, rv);
252 rv = categoryManager->AddCategoryEntry
259 NS_ENSURE_SUCCESS(rv, rv);
272 const char* aLoaderStr,
273 const nsModuleComponentInfo* aInfo)
278 nsCOMPtr<nsICategoryManager> categoryManager =
279 do_GetService(NS_CATEGORYMANAGER_CONTRACTID,
281 NS_ENSURE_SUCCESS(rv, rv);
284 rv = categoryManager->DeleteCategoryEntry
288 NS_ENSURE_SUCCESS(rv, rv);
308 sbAlbumArtServiceConstructor,
318 sbAlbumArtScannerConstructor
326 sbAlbumArtFetcherSetConstructor
334 sbFileAlbumArtFetcherConstructor,
343 sbMetadataAlbumArtFetcherConstructor,
static NS_METHOD sbFileAlbumArtFetcherRegister(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *aLoaderStr, const char *aType, const nsModuleComponentInfo *aInfo)
Songbird Album Art Fetcher Set Definitions.
static NS_METHOD sbFileAlbumArtFetcherUnregister(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *aLoaderStr, const nsModuleComponentInfo *aInfo)
#define SB_METADATAALBUMARTFETCHER_CONTRACTID
#define SB_ALBUMARTSERVICE_CLASSNAME
#define SB_ALBUMARTFETCHERSET_CLASSNAME
static NS_METHOD sbMetadataAlbumArtFetcherRegister(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *aLoaderStr, const char *aType, const nsModuleComponentInfo *aInfo)
#define SB_ALBUMARTSERVICE_CONTRACTID
static NS_METHOD sbAlbumArtServiceRegister(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *aLoaderStr, const char *aType, const nsModuleComponentInfo *aInfo)
#define SB_FILEALBUMARTFETCHER_CONTRACTID
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(sbMockDeviceFirmwareHandler, Init)
#define SB_ALBUMARTFETCHERSET_CID
#define SB_ALBUMARTSERVICE_CID
#define SB_ALBUMARTSCANNER_CID
#define SB_FILEALBUMARTFETCHER_CID
static NS_METHOD sbAlbumArtServiceUnregister(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *aLoaderStr, const nsModuleComponentInfo *aInfo)
#define SB_ALBUMARTFETCHERSET_CONTRACTID
#define SB_FILEALBUMARTFETCHER_CLASSNAME
Songbird Album Art Scanner Definitions.
static nsModuleComponentInfo sbAlbumArtComponents[]
#define SB_ALBUMARTSCANNER_CONTRACTID
#define SB_ALBUM_ART_FETCHER_CATEGORY
NS_IMPL_NSGETMODULE(SongbirdIdentityServiceComponent, sbIdentityServiceComponent)
Songbird Album Art Service Definitions.
static NS_METHOD sbMetadataAlbumArtFetcherUnregister(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *aLoaderStr, const nsModuleComponentInfo *aInfo)
Songbird Local File Album Art Fetcher Definitions.
#define SB_ALBUMARTSCANNER_CLASSNAME