Files
lazarus-ccr/components/geckoport/version2/gecko10/nsicomponentregistrar.inc
loesje_ 9c2b80b5c4 * Re-generated .inc files with new version from the idlparser.
* Some string-types are now not returned as function result but as parameter. Solves several string issues.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2357 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-03-19 14:43:54 +00:00

20 lines
1.1 KiB
PHP

type
nsIComponentRegistrar = interface(nsISupports)
['{2417cbfe-65ad-48a6-b4b6-eb84db174392}']
procedure autoRegister(aSpec: nsIFile); safecall;
procedure autoUnregister(aSpec: nsIFile); safecall;
procedure registerFactory(constref aClass: TGuid; aClassName: PAnsiChar; aContractID: PAnsiChar; aFactory: nsIFactory); safecall;
procedure unregisterFactory(constref aClass: TGuid; aFactory: nsIFactory); safecall;
procedure registerFactoryLocation(constref aClass: TGuid; aClassName: PAnsiChar; aContractID: PAnsiChar; aFile: nsIFile; aLoaderStr: PAnsiChar; aType: PAnsiChar); safecall;
procedure unregisterFactoryLocation(constref aClass: TGuid; aFile: nsIFile); safecall;
function isCIDRegistered(constref aClass: TGuid) : longbool; safecall;
function isContractIDRegistered(aContractID: PAnsiChar) : longbool; safecall;
function enumerateCIDs() : nsISimpleEnumerator; safecall;
function enumerateContractIDs() : nsISimpleEnumerator; safecall;
function CIDToContractID(constref aClass: TGuid) : PAnsiChar; safecall;
function contractIDToCID(aContractID: PAnsiChar) : nsCIDPtr; safecall;
end;