33 #include <nsServiceManagerUtils.h>
34 #include <nsICategoryManager.h>
35 #include <nsIGenericFactory.h>
44 #define SB_LIBRARY_IMPORTER_CATEGORY "library-importer"
49 const char* registryLocation,
50 const char* componentType,
51 const nsModuleComponentInfo* info)
54 nsCOMPtr<nsICategoryManager> categoryManager =
55 do_GetService(NS_CATEGORYMANAGER_CONTRACTID, &rv);
56 NS_ENSURE_SUCCESS(rv, rv);
60 PR_TRUE, PR_TRUE, nsnull);
67 const char* registryLocation,
68 const nsModuleComponentInfo* info)
71 nsCOMPtr<nsICategoryManager> categoryManager =
72 do_GetService(NS_CATEGORYMANAGER_CONTRACTID, &rv);
73 NS_ENSURE_SUCCESS(rv, rv);
86 sbiTunesXMLParserConstructor
92 sbiTunesImporterConstructor,
#define SBITUNESIMPORTER_CONTRACTID
#define SBITUNESIMPORTER_CID
#define SBITUNESXMLPARSER_CID
#define SBITUNESXMLPARSER_CLASSNAME
#define SB_LIBRARY_IMPORTER_CATEGORY
#define SBITUNESXMLPARSER_CONTRACTID
NS_IMPL_NSGETMODULE(SongbirdIdentityServiceComponent, sbIdentityServiceComponent)
#define SBITUNESIMPORTER_CLASSNAME
static NS_METHOD sbiTunesImporterRegisterSelf(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *registryLocation, const char *componentType, const nsModuleComponentInfo *info)
static NS_METHOD sbiTunesImporterUnregisterSelf(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *registryLocation, const nsModuleComponentInfo *info)