Mozilla.com

Table of contents
  1. 1. Summary
  2. 2. Parameters
Table of contents
  1. 1. Summary
  2. 2. Parameters

« XPCOM API Reference

Summary

Registers a factory to be used to instantiate a particular class identified by ClassID, and creates an association of class name and ContractID with the class.

void registerFactory(
  in nsCIDRef aClassID,
  in string aClassName,
  in string aContractID,
  in nsIFactory aFactory
);

Parameters

aClassID
[in] The ClassID of the class being registered.
aClassName
[in] The name of the class being registered. This value is intended as a human-readable name for the class and need not be globally unique.
aContractID
[in] The ContractID of the class being registered.
aFactory
[in] The nsIFactory instance of the class being registered.

Page last modified 01:21, 9 Nov 2005 by DarinFisher

Files (0)