Mercurial > projects > dwt-mac
view dwt/internal/mozilla/nsIAppShell.d @ 156:969e7de37c3d default tip
Fixes to get dwt to work with dmd and ldc
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Wed, 08 Jul 2009 21:56:44 +0200 |
parents | 5583f8eeee6c |
children |
line wrap: on
line source
module dwt.internal.mozilla.nsIAppShell; import dwt.internal.mozilla.Common; import dwt.internal.mozilla.nsID; import dwt.internal.mozilla.nsISupports; import dwt.internal.mozilla.nsIEventQueue; const char[] NS_IAPPSHELL_IID_STR = "a0757c31-eeac-11d1-9ec1-00aa002fb821"; const nsIID NS_IAPPSHELL_IID= {0xa0757c31, 0xeeac, 0x11d1, [ 0x9e, 0xc1, 0x00, 0xaa, 0x00, 0x2f, 0xb8, 0x21 ]}; interface nsIAppShell : nsISupports { static const char[] IID_STR = NS_IAPPSHELL_IID_STR; static const nsIID IID = NS_IAPPSHELL_IID; extern(System): nsresult Create(int *argc, char **argv); nsresult Run(); nsresult Spinup(); nsresult Spindown(); nsresult ListenToEventQueue(nsIEventQueue * aQueue, PRBool aListen); nsresult GetNativeEvent(PRBool * aRealEvent, void * * aEvent); nsresult DispatchNativeEvent(PRBool aRealEvent, void * aEvent); nsresult Exit(); }