Files
lazarus-ccr/components/geckoport/version2/gecko10/nsidocshellloadinfo.inc
loesje_ 625a4e0e99 * 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
2012-03-17 10:50:10 +00:00

61 lines
2.8 KiB
PHP

type
nsDocShellInfoLoadType = idllong;
type
nsIDocShellLoadInfo = interface(nsISupports)
['{92a0a637-373e-4647-9476-ead11e005c75}']
function Getreferrer(): nsIURI; safecall;
procedure Setreferrer(areferrer: nsIURI); safecall;
property referrer : nsIURI read Getreferrer write Setreferrer;
function Getowner(): nsISupports; safecall;
procedure Setowner(aowner: nsISupports); safecall;
property owner : nsISupports read Getowner write Setowner;
function GetinheritOwner(): longbool; safecall;
procedure SetinheritOwner(ainheritOwner: longbool); safecall;
property inheritOwner : longbool read GetinheritOwner write SetinheritOwner;
function GetownerIsExplicit(): longbool; safecall;
procedure SetownerIsExplicit(aownerIsExplicit: longbool); safecall;
property ownerIsExplicit : longbool read GetownerIsExplicit write SetownerIsExplicit;
function GetloadType(): nsDocShellInfoLoadType; safecall;
procedure SetloadType(aloadType: nsDocShellInfoLoadType); safecall;
property loadType : nsDocShellInfoLoadType read GetloadType write SetloadType;
function GetSHEntry(): nsISHEntry; safecall;
procedure SetSHEntry(aSHEntry: nsISHEntry); safecall;
property SHEntry : nsISHEntry read GetSHEntry write SetSHEntry;
function Gettarget(): PWideChar; safecall;
procedure Settarget(atarget: PWideChar); safecall;
property target : PWideChar read Gettarget write Settarget;
function GetpostDataStream(): nsIInputStream; safecall;
procedure SetpostDataStream(apostDataStream: nsIInputStream); safecall;
property postDataStream : nsIInputStream read GetpostDataStream write SetpostDataStream;
function GetheadersStream(): nsIInputStream; safecall;
procedure SetheadersStream(aheadersStream: nsIInputStream); safecall;
property headersStream : nsIInputStream read GetheadersStream write SetheadersStream;
function GetsendReferrer(): longbool; safecall;
procedure SetsendReferrer(asendReferrer: longbool); safecall;
property sendReferrer : longbool read GetsendReferrer write SetsendReferrer;
end;
const
nsIDocShellLoadInfo_loadNormal=0;
nsIDocShellLoadInfo_loadNormalReplace=1;
nsIDocShellLoadInfo_loadHistory=2;
nsIDocShellLoadInfo_loadReloadNormal=3;
nsIDocShellLoadInfo_loadReloadBypassCache=4;
nsIDocShellLoadInfo_loadReloadBypassProxy=5;
nsIDocShellLoadInfo_loadReloadBypassProxyAndCache=6;
nsIDocShellLoadInfo_loadLink=7;
nsIDocShellLoadInfo_loadRefresh=8;
nsIDocShellLoadInfo_loadReloadCharsetChange=9;
nsIDocShellLoadInfo_loadBypassHistory=10;
nsIDocShellLoadInfo_loadStopContent=11;
nsIDocShellLoadInfo_loadStopContentAndReplace=12;
nsIDocShellLoadInfo_loadNormalExternal=13;
nsIDocShellLoadInfo_loadNormalBypassCache=14;
nsIDocShellLoadInfo_loadNormalBypassProxy=15;
nsIDocShellLoadInfo_loadNormalBypassProxyAndCache=16;
nsIDocShellLoadInfo_loadPushState=17;