Files
lazarus-ccr/components/geckoport/version2/gecko10/nsidomevent.inc
loesje_ 9c2b80b5c4 * Re-generated .inc files with new version from the idlparser.
* 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
2012-03-19 14:43:54 +00:00

32 lines
1.3 KiB
PHP

type
nsIDOMEvent = interface(nsISupports)
['{e85cff74-951f-45c1-be0c-89442ea2f500}']
procedure Gettype( result_: DOMString); safecall;
function Gettarget(): nsIDOMEventTarget; safecall;
property target : nsIDOMEventTarget read Gettarget;
function GetcurrentTarget(): nsIDOMEventTarget; safecall;
property currentTarget : nsIDOMEventTarget read GetcurrentTarget;
function GeteventPhase(): idlushort; safecall;
property eventPhase : idlushort read GeteventPhase;
function Getbubbles(): longbool; safecall;
property bubbles : longbool read Getbubbles;
function Getcancelable(): longbool; safecall;
property cancelable : longbool read Getcancelable;
function GettimeStamp(): DOMTimeStamp; safecall;
property timeStamp : DOMTimeStamp read GettimeStamp;
procedure stopPropagation(); safecall;
procedure preventDefault(); safecall;
procedure initEvent(eventTypeArg: DOMString; canBubbleArg: longbool; cancelableArg: longbool); safecall;
function GetdefaultPrevented(): longbool; safecall;
property defaultPrevented : longbool read GetdefaultPrevented;
procedure stopImmediatePropagation(); safecall;
end;
const
nsIDOMEvent_CAPTURING_PHASE=1;
nsIDOMEvent_AT_TARGET=2;
nsIDOMEvent_BUBBLING_PHASE=3;