45
|
1 module dwt.internal.mozilla.nsIAppShell;
|
|
2
|
125
|
3 import dwt.internal.mozilla.Common;
|
|
4 import dwt.internal.mozilla.nsID;
|
|
5 import dwt.internal.mozilla.nsISupports;
|
|
6 import dwt.internal.mozilla.nsIEventQueue;
|
45
|
7
|
125
|
8 const char[] NS_IAPPSHELL_IID_STR = "a0757c31-eeac-11d1-9ec1-00aa002fb821";
|
45
|
9
|
125
|
10 const nsIID NS_IAPPSHELL_IID=
|
|
11 {0xa0757c31, 0xeeac, 0x11d1,
|
|
12 [ 0x9e, 0xc1, 0x00, 0xaa, 0x00, 0x2f, 0xb8, 0x21 ]};
|
45
|
13
|
125
|
14 interface nsIAppShell : nsISupports {
|
|
15 static const char[] IID_STR = NS_IAPPSHELL_IID_STR;
|
|
16 static const nsIID IID = NS_IAPPSHELL_IID;
|
45
|
17
|
125
|
18 extern(System):
|
|
19 nsresult Create(int *argc, char **argv);
|
|
20 nsresult Run();
|
|
21 nsresult Spinup();
|
|
22 nsresult Spindown();
|
|
23 nsresult ListenToEventQueue(nsIEventQueue * aQueue, PRBool aListen);
|
|
24 nsresult GetNativeEvent(PRBool * aRealEvent, void * * aEvent);
|
|
25 nsresult DispatchNativeEvent(PRBool aRealEvent, void * aEvent);
|
|
26 nsresult Exit();
|
|
27 }
|
45
|
28
|