1 module org.eclipse.swt.internal.mozilla.nsIDOMEventTarget; 2 3 import java.lang.all; 4 5 import org.eclipse.swt.internal.mozilla.Common; 6 import org.eclipse.swt.internal.mozilla.nsID; 7 import org.eclipse.swt.internal.mozilla.nsISupports; 8 import org.eclipse.swt.internal.mozilla.nsIDOMEvent; 9 import org.eclipse.swt.internal.mozilla.nsIDOMEventListener; 10 import org.eclipse.swt.internal.mozilla.nsStringAPI; 11 12 alias PRUint64 DOMTimeStamp; 13 14 const char[] NS_IDOMEVENTTARGET_IID_STR = "1c773b30-d1cf-11d2-bd95-00805f8ae3f4"; 15 16 const nsIID NS_IDOMEVENTTARGET_IID= 17 {0x1c773b30, 0xd1cf, 0x11d2, 18 [ 0xbd, 0x95, 0x00, 0x80, 0x5f, 0x8a, 0xe3, 0xf4 ]}; 19 20 //extern(System) 21 22 interface nsIDOMEventTarget : nsISupports { 23 24 static const char[] IID_STR = NS_IDOMEVENTTARGET_IID_STR; 25 static const nsIID IID = NS_IDOMEVENTTARGET_IID; 26 27 extern(System): 28 nsresult AddEventListener(nsAString * type, nsIDOMEventListener listener, PRBool useCapture); 29 nsresult RemoveEventListener(nsAString * type, nsIDOMEventListener listener, PRBool useCapture); 30 nsresult DispatchEvent(nsIDOMEvent evt, PRBool *_retval); 31 32 } 33