OSGK::ComponentMgr Struct Reference

Gecko component manager wrapper. More...

#include <OffscreenGecko/componentmgr.h>

Inheritance diagram for OSGK::ComponentMgr:

OSGK::CXXAPI::Wrap< OSGK_ComponentMgr >

List of all members.

Public Member Functions

 ComponentMgr (WrappedType *obj)
ComponentMgroperator= (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.


Detailed Description

Gecko component manager wrapper.

Provides access to commonly used methods from the Gecko component manager and registrar in a somewhat convenient manner.


Constructor & Destructor Documentation

OSGK::ComponentMgr::ComponentMgr ( WrappedType obj  )  [inline, explicit]


Member Function Documentation

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.

Parameters:
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.
Returns:
Whether the registration was successful (true) or not (false).

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.

Parameters:
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.
Returns:
Whether the registration was successful (true) or not (false).


The documentation for this struct was generated from the following file:
Generated on Sun Nov 2 18:15:18 2008 for OffscreenGecko by  doxygen 1.5.4