sbIPDModule.cpp File Reference

Songbird iPod Component Factory and Main Entry Point. More...

#include "sbIPDController.h"
#include "sbIPDMarshall.h"
#include <nsCOMPtr.h>
#include <nsICategoryManager.h>
#include <nsIClassInfoImpl.h>
#include <nsIGenericFactory.h>
#include <nsServiceManagerUtils.h>
Include dependency graph for sbIPDModule.cpp:

Go to the source code of this file.

Functions

static NS_METHOD sbIPDMarshallRegisterSelf (nsIComponentManager *aCompMgr, nsIFile *aPath, const char *aLoaderStr, const char *aType, const nsModuleComponentInfo *aInfo)
 Register the device marshall component. More...
 
static NS_METHOD sbIPDMarshallUnregisterSelf (nsIComponentManager *aCompMgr, nsIFile *aPath, const char *aLoaderStr, const nsModuleComponentInfo *aInfo)
 Unregister the device marshall component. More...
 
 SB_DEVICE_CONTROLLER_REGISTERSELF (sbIPDController)
 

Variables

static nsModuleComponentInfo sbIPDComponents []
 

Detailed Description

Songbird iPod Component Factory and Main Entry Point.

Definition in file sbIPDModule.cpp.

Function Documentation

SB_DEVICE_CONTROLLER_REGISTERSELF ( sbIPDController  )
static NS_METHOD sbIPDMarshallRegisterSelf ( nsIComponentManager *  aCompMgr,
nsIFile *  aPath,
const char *  aLoaderStr,
const char *  aType,
const nsModuleComponentInfo *  aInfo 
)
static

Register the device marshall component.

Definition at line 78 of file sbIPDModule.cpp.

static NS_METHOD sbIPDMarshallUnregisterSelf ( nsIComponentManager *  aCompMgr,
nsIFile *  aPath,
const char *  aLoaderStr,
const nsModuleComponentInfo *  aInfo 
)
static

Unregister the device marshall component.

Definition at line 110 of file sbIPDModule.cpp.

Variable Documentation

nsModuleComponentInfo sbIPDComponents[]
static
Initial value:
=
{
{
sbIPDMarshallConstructor,
nsnull,
NS_CI_INTERFACE_GETTER_NAME(sbIPDMarshall),
nsnull,
&NS_CLASSINFO_NAME(sbIPDMarshall)
},
{
sbIPDControllerConstructor,
sbIPDControllerRegisterSelf,
sbIPDControllerUnregisterSelf,
nsnull,
NS_CI_INTERFACE_GETTER_NAME(sbIPDController),
nsnull,
&NS_CLASSINFO_NAME(sbIPDController)
}
}
static NS_METHOD sbIPDMarshallUnregisterSelf(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *aLoaderStr, const nsModuleComponentInfo *aInfo)
Unregister the device marshall component.
#define SB_IPDMARSHALL_CLASSNAME
Definition: sbIPDMarshall.h:74
#define SB_IPDCONTROLLER_CONTRACTID
static NS_METHOD sbIPDMarshallRegisterSelf(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *aLoaderStr, const char *aType, const nsModuleComponentInfo *aInfo)
Register the device marshall component.
Definition: sbIPDModule.cpp:78
#define SB_IPDMARSHALL_CID
Definition: sbIPDMarshall.h:76
#define SB_IPDCONTROLLER_CID
#define SB_IPDMARSHALL_CONTRACTID
Definition: sbIPDMarshall.h:73
#define SB_IPDCONTROLLER_CLASSNAME

Definition at line 152 of file sbIPDModule.cpp.