#include <OffscreenGecko/componentmgr.h>
Public Member Functions | |
ComponentMgr (WrappedType *obj) | |
ComponentMgr & | operator= (const ComponentMgr &other) |
bool | RegisterXPCOMFactory (const nsCID &aClass, const char *className, const char *contractID, nsIFactory *factory) |
Register an XPCOM component factory with Gecko's component manager. | |
bool | RegisterXPCOMFactory (const nsCID &aClass, const char *className, const char *contractID, nsIFactory *factory, OSGK_GeckoResult &geckoResult) |
Register an XPCOM component factory with Gecko's component manager. |
Provides access to commonly used methods from the Gecko component manager and registrar in a somewhat convenient manner.
OSGK::ComponentMgr::ComponentMgr | ( | WrappedType * | obj | ) | [inline, explicit] |
ComponentMgr& OSGK::ComponentMgr::operator= | ( | const ComponentMgr & | other | ) | [inline] |
bool OSGK::ComponentMgr::RegisterXPCOMFactory | ( | const nsCID & | aClass, | |
const char * | className, | |||
const char * | contractID, | |||
nsIFactory * | factory | |||
) | [inline] |
Register an XPCOM component factory with Gecko's component manager.
aClass | Class ID of the class produced by the factory. | |
className | Name of the class produced by the factory. | |
contractID | Contract ID for the class produced by the factory. | |
factory | The factory. |
bool OSGK::ComponentMgr::RegisterXPCOMFactory | ( | const nsCID & | aClass, | |
const char * | className, | |||
const char * | contractID, | |||
nsIFactory * | factory, | |||
OSGK_GeckoResult & | geckoResult | |||
) | [inline] |
Register an XPCOM component factory with Gecko's component manager.
aClass | Class ID of the class produced by the factory. | |
className | Name of the class produced by the factory. | |
contractID | Contract ID for the class produced by the factory. | |
factory | The factory. | |
geckoResult | Returns the Gecko result code for the registration. |