Mercurial > projects > dwt-linux
view dwt/internal/mozilla/nsIEventQueue.d @ 341:942da4b6558a
Ongoing fixup for compile
author | John Reimer <terminal.node@gmail.com> |
---|---|
date | Sun, 26 Oct 2008 21:19:51 -0700 |
parents | dd63eb078d7a |
children | 9a4d7706df52 |
line wrap: on
line source
module dwt.internal.mozilla.nsIEventQueue; import dwt.internal.mozilla.Common; import dwt.internal.mozilla.nsID; import dwt.internal.mozilla.nsIEventTarget; const char[] NS_IEVENTQUEUE_IID_STR = "176afb41-00a4-11d3-9f2a-00400553eef0"; const nsIID NS_IEVENTQUEUE_IID= {0x176afb41, 0x00a4, 0x11d3, [ 0x9f, 0x2a, 0x00, 0x40, 0x05, 0x53, 0xee, 0xf0 ]}; //extern(System) interface nsIEventQueue : nsIEventTarget { static const char[] IID_STR = NS_IEVENTQUEUE_IID_STR; static const nsIID IID = NS_IEVENTQUEUE_IID; nsresult InitEvent(PLEvent * aEvent, void * owner, PLHandleEventProc handler, PLDestroyEventProc destructor); nsresult PostSynchronousEvent(PLEvent * aEvent, void * *aResult); nsresult PendingEvents(PRBool *_retval); nsresult ProcessPendingEvents(); nsresult EventLoop(); nsresult EventAvailable(PRBool * aResult); nsresult GetEvent(PLEvent * *_retval); nsresult HandleEvent(PLEvent * aEvent); nsresult WaitForEvent(PLEvent * *_retval); PRInt32 GetEventQueueSelectFD(); nsresult Init(PRBool aNative); nsresult InitFromPRThread(PRThread * thread, PRBool aNative); nsresult InitFromPLQueue(PLEventQueue * aQueue); nsresult EnterMonitor(); nsresult ExitMonitor(); nsresult RevokeEvents(void * owner); nsresult GetPLEventQueue(PLEventQueue * *_retval); nsresult IsQueueNative(PRBool *_retval); nsresult StopAcceptingEvents(); }