51 #include "sbIPDController.h"
52 #include "sbIPDMarshall.h"
56 #include <nsICategoryManager.h>
57 #include <nsIClassInfoImpl.h>
58 #include <nsIGenericFactory.h>
59 #include <nsServiceManagerUtils.h>
80 const
char* aLoaderStr,
82 const nsModuleComponentInfo* aInfo)
87 nsCOMPtr<nsICategoryManager> categoryManager =
88 do_GetService(NS_CATEGORYMANAGER_CONTRACTID,
90 NS_ENSURE_SUCCESS(rv, rv);
99 NS_ENSURE_SUCCESS(rv, rv);
112 const char* aLoaderStr,
113 const nsModuleComponentInfo* aInfo)
118 nsCOMPtr<nsICategoryManager> categoryManager =
119 do_GetService(NS_CATEGORYMANAGER_CONTRACTID,
121 NS_ENSURE_SUCCESS(rv, rv);
127 NS_ENSURE_SUCCESS(rv, rv);
159 sbIPDMarshallConstructor,
173 sbIPDControllerConstructor,
174 sbIPDControllerRegisterSelf,
175 sbIPDControllerUnregisterSelf,
177 NS_CI_INTERFACE_GETTER_NAME(sbIPDController),
179 &NS_CLASSINFO_NAME(sbIPDController)
#define SB_DEVICE_MARSHALL_CATEGORY
static NS_METHOD sbIPDMarshallUnregisterSelf(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *aLoaderStr, const nsModuleComponentInfo *aInfo)
Unregister the device marshall component.
SB_DEVICE_CONTROLLER_REGISTERSELF(sbIPDController)
static nsModuleComponentInfo sbIPDComponents[]
#define SB_IPDMARSHALL_CLASSNAME
#define SB_IPDCONTROLLER_CONTRACTID
NS_IMPL_NSGETMODULE(SongbirdIdentityServiceComponent, sbIdentityServiceComponent)
static NS_METHOD sbIPDMarshallRegisterSelf(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *aLoaderStr, const char *aType, const nsModuleComponentInfo *aInfo)
Register the device marshall component.
#define SB_IPDMARSHALL_CID
#define SB_IPDCONTROLLER_CID
#define SB_IPDMARSHALL_CONTRACTID
#define SB_IPDCONTROLLER_CLASSNAME
#define SB_IPDMARSHALL_DESCRIPTION