You've already forked lazarus-ccr
* 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
27 lines
1.1 KiB
PHP
27 lines
1.1 KiB
PHP
type
|
|
|
|
nsIEventSource = interface(nsISupports)
|
|
['{755e2d2d-a836-4539-83f4-16b51156341f}']
|
|
procedure Geturl( result_: DOMString); safecall;
|
|
function GetreadyState(): idllong; safecall;
|
|
property readyState : idllong read GetreadyState;
|
|
function Getonopen(): nsIDOMEventListener; safecall;
|
|
procedure Setonopen(aonopen: nsIDOMEventListener); safecall;
|
|
property onopen : nsIDOMEventListener read Getonopen write Setonopen;
|
|
function Getonmessage(): nsIDOMEventListener; safecall;
|
|
procedure Setonmessage(aonmessage: nsIDOMEventListener); safecall;
|
|
property onmessage : nsIDOMEventListener read Getonmessage write Setonmessage;
|
|
function Getonerror(): nsIDOMEventListener; safecall;
|
|
procedure Setonerror(aonerror: nsIDOMEventListener); safecall;
|
|
property onerror : nsIDOMEventListener read Getonerror write Setonerror;
|
|
procedure close(); safecall;
|
|
procedure init(principal: nsIPrincipal; scriptContext: nsIScriptContext; ownerWindow: nsPIDOMWindow; anurl: DOMString); safecall;
|
|
|
|
end;
|
|
|
|
const
|
|
nsIEventSource_CONNECTING=0;
|
|
nsIEventSource_OPEN=1;
|
|
nsIEventSource_CLOSED=2;
|
|
|