org.eclipse.swt.internal.mozilla
Class nsIComponentRegistrar

java.lang.Object
  extended by org.eclipse.swt.internal.mozilla.nsISupports
      extended by org.eclipse.swt.internal.mozilla.nsIComponentRegistrar

public class nsIComponentRegistrar
extends nsISupports


Field Summary
static nsID NS_ICOMPONENTREGISTRAR_IID
           
static java.lang.String NS_ICOMPONENTREGISTRAR_IID_STR
           
 
Fields inherited from class org.eclipse.swt.internal.mozilla.nsISupports
NS_ISUPPORTS_IID, NS_ISUPPORTS_IID_STR
 
Constructor Summary
nsIComponentRegistrar(long address)
           
 
Method Summary
 int AutoRegister(long aSpec)
           
 int AutoUnregister(long aSpec)
           
 int CIDToContractID(nsID aClass, long[] _retval)
           
 int ContractIDToCID(byte[] aContractID, long _retval)
           
 int EnumerateCIDs(long[] _retval)
           
 int EnumerateContractIDs(long[] _retval)
           
 int IsCIDRegistered(nsID aClass, int[] _retval)
           
 int IsContractIDRegistered(byte[] aContractID, int[] _retval)
           
 int RegisterFactory(nsID aClass, byte[] aClassName, byte[] aContractID, long aFactory)
           
 int RegisterFactoryLocation(nsID aClass, byte[] aClassName, byte[] aContractID, long aFile, byte[] aLoaderStr, byte[] aType)
           
 int UnregisterFactory(nsID aClass, long aFactory)
           
 int UnregisterFactoryLocation(nsID aClass, long aFile)
           
 
Methods inherited from class org.eclipse.swt.internal.mozilla.nsISupports
AddRef, getAddress, QueryInterface, Release
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NS_ICOMPONENTREGISTRAR_IID_STR

public static final java.lang.String NS_ICOMPONENTREGISTRAR_IID_STR
See Also:
Constant Field Values

NS_ICOMPONENTREGISTRAR_IID

public static final nsID NS_ICOMPONENTREGISTRAR_IID
Constructor Detail

nsIComponentRegistrar

public nsIComponentRegistrar(long address)
Method Detail

AutoRegister

public int AutoRegister(long aSpec)

AutoUnregister

public int AutoUnregister(long aSpec)

RegisterFactory

public int RegisterFactory(nsID aClass,
                           byte[] aClassName,
                           byte[] aContractID,
                           long aFactory)

UnregisterFactory

public int UnregisterFactory(nsID aClass,
                             long aFactory)

RegisterFactoryLocation

public int RegisterFactoryLocation(nsID aClass,
                                   byte[] aClassName,
                                   byte[] aContractID,
                                   long aFile,
                                   byte[] aLoaderStr,
                                   byte[] aType)

UnregisterFactoryLocation

public int UnregisterFactoryLocation(nsID aClass,
                                     long aFile)

IsCIDRegistered

public int IsCIDRegistered(nsID aClass,
                           int[] _retval)

IsContractIDRegistered

public int IsContractIDRegistered(byte[] aContractID,
                                  int[] _retval)

EnumerateCIDs

public int EnumerateCIDs(long[] _retval)

EnumerateContractIDs

public int EnumerateContractIDs(long[] _retval)

CIDToContractID

public int CIDToContractID(nsID aClass,
                           long[] _retval)

ContractIDToCID

public int ContractIDToCID(byte[] aContractID,
                           long _retval)