Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIComponentManager Interface Reference

import "nsIComponentManager.idl";

Inheritance diagram for nsIComponentManager:
Inheritance graph
[legend]
Collaboration diagram for nsIComponentManager:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void getClassObject (in nsCIDRef aClass, in nsIIDRef aIID,[iid_is(aIID), retval] out nsQIResult result)
 getClassObject
void getClassObjectByContractID (in string aContractID, in nsIIDRef aIID,[iid_is(aIID), retval] out nsQIResult result)
 getClassObjectByContractID
void createInstance (in nsCIDRef aClass, in nsISupports aDelegate, in nsIIDRef aIID,[iid_is(aIID), retval] out nsQIResult result)
 createInstance
void createInstanceByContractID (in string aContractID, in nsISupports aDelegate, in nsIIDRef aIID,[iid_is(aIID), retval] out nsQIResult result)
 createInstanceByContractID

Detailed Description

Definition at line 48 of file nsIComponentManager.idl.


Member Function Documentation

void nsIComponentManager::createInstance ( in nsCIDRef  aClass,
in nsISupports  aDelegate,
in nsIIDRef  aIID,
[iid_is(aIID), retval] out nsQIResult  result 
)

createInstance

Create an instance of the CID aClass and return the interface aIID.

Parameters:
aClass: ClassID of object instance requested
aDelegate: Used for aggregation
aIID: IID of interface requested
void nsIComponentManager::createInstanceByContractID ( in string  aContractID,
in nsISupports  aDelegate,
in nsIIDRef  aIID,
[iid_is(aIID), retval] out nsQIResult  result 
)

createInstanceByContractID

Create an instance of the CID that implements aContractID and return the interface aIID.

Parameters:
aContractID: aContractID of object instance requested
aDelegate: Used for aggregation
aIID: IID of interface requested
void nsIComponentManager::getClassObject ( in nsCIDRef  aClass,
in nsIIDRef  aIID,
[iid_is(aIID), retval] out nsQIResult  result 
)

getClassObject

Returns the factory object that can be used to create instances of CID aClass

Parameters:
aClassThe classid of the factory that is being requested
void nsIComponentManager::getClassObjectByContractID ( in string  aContractID,
in nsIIDRef  aIID,
[iid_is(aIID), retval] out nsQIResult  result 
)

getClassObjectByContractID

Returns the factory object that can be used to create instances of CID aClass

Parameters:
aClassThe classid of the factory that is being requested

The documentation for this interface was generated from the following file: