* 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,18 @@
type
nsIIOService = interface(nsISupports)
['{bddeda3f-9020-4d12-8c70-984ee9f7935e}']
function getProtocolHandler(aScheme: PAnsiChar) : nsIProtocolHandler; safecall;
function getProtocolFlags(aScheme: PAnsiChar) : idlulong; safecall;
function newURI(aSpec: AUTF8String; aOriginCharset: PAnsiChar; aBaseURI: nsIURI) : nsIURI; safecall;
function newFileURI(aFile: nsIFile) : nsIURI; safecall;
function newChannelFromURI(aURI: nsIURI) : nsIChannel; safecall;
function newChannel(aSpec: AUTF8String; aOriginCharset: PAnsiChar; aBaseURI: nsIURI) : nsIChannel; safecall;
function Getoffline(): longbool; safecall;
procedure Setoffline(aoffline: longbool); safecall;
property offline : longbool read Getoffline write Setoffline;
function allowPort(aPort: idllong; aScheme: PAnsiChar) : longbool; safecall;
function extractScheme(urlString: AUTF8String) : ACString; safecall;
end;