* 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,33 @@
type
nsIHttpChannel = interface(nsIChannel)
['{9277fe09-f0cc-4cd9-bbce-581dd94b0260}']
function GetrequestMethod(): ACString; safecall;
procedure SetrequestMethod(arequestMethod: ACString); safecall;
property requestMethod : ACString read GetrequestMethod write SetrequestMethod;
function Getreferrer(): nsIURI; safecall;
procedure Setreferrer(areferrer: nsIURI); safecall;
property referrer : nsIURI read Getreferrer write Setreferrer;
function getRequestHeader(aHeader: ACString) : ACString; safecall;
procedure setRequestHeader(aHeader: ACString; aValue: ACString; aMerge: longbool); safecall;
procedure visitRequestHeaders(aVisitor: nsIHttpHeaderVisitor); safecall;
function GetallowPipelining(): longbool; safecall;
procedure SetallowPipelining(aallowPipelining: longbool); safecall;
property allowPipelining : longbool read GetallowPipelining write SetallowPipelining;
function GetredirectionLimit(): idlulong; safecall;
procedure SetredirectionLimit(aredirectionLimit: idlulong); safecall;
property redirectionLimit : idlulong read GetredirectionLimit write SetredirectionLimit;
function GetresponseStatus(): idlulong; safecall;
property responseStatus : idlulong read GetresponseStatus;
function GetresponseStatusText(): ACString; safecall;
property responseStatusText : ACString read GetresponseStatusText;
function GetrequestSucceeded(): longbool; safecall;
property requestSucceeded : longbool read GetrequestSucceeded;
function getResponseHeader(header: ACString) : ACString; safecall;
procedure setResponseHeader(header: ACString; value: ACString; merge: longbool); safecall;
procedure visitResponseHeaders(aVisitor: nsIHttpHeaderVisitor); safecall;
function isNoStoreResponse() : longbool; safecall;
function isNoCacheResponse() : longbool; safecall;
end;