* Begin of version 2 of the geckoport package

In this new version the gecko-interfaces are generated directly from the
   idl-files of the gecko-sdk using the idlparser utility. The generated 
   include files are kept as closely to the original as possible. For now
   by defaule Gecko 9 is used, as Gecko 10 has a bug which makes it
   impossible to embed it on Linux systems.



git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2349 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
loesje_
2012-03-17 10:50:10 +00:00
parent 50aaeec1c9
commit 625a4e0e99
179 changed files with 4747 additions and 28044 deletions

View File

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