Mercurial > projects > dwt-linux
comparison dwt/internal/mozilla.old/nsIAppShell.d @ 288:4ee8c4237614
old branches... commit by mistake
author | John Reimer<terminal.node@gmail.com> |
---|---|
date | Tue, 05 Aug 2008 18:00:50 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
287:9cbe6285f746 | 288:4ee8c4237614 |
---|---|
1 module dwt.internal.mozilla.nsIAppShell; | |
2 | |
3 import dwt.internal.mozilla.Common; | |
4 import dwt.internal.mozilla.nsID; | |
5 import dwt.internal.mozilla.nsISupports; | |
6 import dwt.internal.mozilla.nsIEventQueue; | |
7 | |
8 const char[] NS_IAPPSHELL_IID_STR = "a0757c31-eeac-11d1-9ec1-00aa002fb821"; | |
9 | |
10 const nsIID NS_IAPPSHELL_IID= | |
11 {0xa0757c31, 0xeeac, 0x11d1, | |
12 [ 0x9e, 0xc1, 0x00, 0xaa, 0x00, 0x2f, 0xb8, 0x21 ]}; | |
13 | |
14 extern(System) | |
15 | |
16 interface nsIAppShell : nsISupports { | |
17 static const char[] IID_STR = NS_IAPPSHELL_IID_STR; | |
18 static const nsIID IID = NS_IAPPSHELL_IID; | |
19 | |
20 nsresult Create(int *argc, char **argv); | |
21 nsresult Run(); | |
22 nsresult Spinup(); | |
23 nsresult Spindown(); | |
24 nsresult ListenToEventQueue(nsIEventQueue * aQueue, PRBool aListen); | |
25 nsresult GetNativeEvent(PRBool * aRealEvent, void * * aEvent); | |
26 nsresult DispatchNativeEvent(PRBool aRealEvent, void * aEvent); | |
27 nsresult Exit(); | |
28 } | |
29 |