|
Revision 327:b0d7eb5bd76c, 0.9 kB
(checked in by John Reimer <terminal.node@gmail.com>, 3 years ago)
|
Adding Mozilla XPCOM interfaces from dwt-linux to dwt-win
|
| Line | |
|---|
| 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 |
interface nsIAppShell : nsISupports { |
|---|
| 15 |
static const char[] IID_STR = NS_IAPPSHELL_IID_STR; |
|---|
| 16 |
static const nsIID IID = NS_IAPPSHELL_IID; |
|---|
| 17 |
|
|---|
| 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 |
} |
|---|