Mercurial > projects > dwt-linux
comparison dwt/internal/mozilla/nsIJSContextStack.d @ 291:b0bd1789106b
fix: added wrong directory :(
author | John Reimer<terminal.node@gmail.com> |
---|---|
date | Wed, 06 Aug 2008 18:29:44 -0700 |
parents | dd63eb078d7a |
children | 942da4b6558a |
comparison
equal
deleted
inserted
replaced
290:4c1340edee0d | 291:b0bd1789106b |
---|---|
1 module dwt.internal.mozilla.nsIJSContextStack; | |
2 | |
3 import dwt.internal.mozilla.Common; | |
4 import dwt.internal.mozilla.nsID; | |
5 import dwt.internal.mozilla.nsISupports; | |
6 | |
7 /****************************************************************************** | |
8 | |
9 ******************************************************************************/ | |
10 | |
11 const char[] NS_IJSCONTEXTSTACK_IID_STR = "c67d8270-3189-11d3-9885-006008962422"; | |
12 | |
13 const nsIID NS_IJSCONTEXTSTACK_IID= | |
14 {0xc67d8270, 0x3189, 0x11d3, | |
15 [ 0x98, 0x85, 0x00, 0x60, 0x08, 0x96, 0x24, 0x22 ]}; | |
16 | |
17 extern(System) | |
18 | |
19 interface nsIJSContextStack : nsISupports { | |
20 | |
21 static const char[] IID_STR = NS_IJSCONTEXTSTACK_IID_STR; | |
22 static const nsIID IID = NS_IJSCONTEXTSTACK_IID; | |
23 | |
24 nsresult GetCount(PRInt32 *aCount); | |
25 nsresult Peek(JSContext * *_retval); | |
26 nsresult Pop(JSContext * *_retval); | |
27 nsresult Push(JSContext * cx); | |
28 | |
29 } | |
30 | |
31 /****************************************************************************** | |
32 | |
33 ******************************************************************************/ | |
34 | |
35 const char[] NS_IJSCONTEXTSTACKITERATOR_IID_STR = "c7e6b7aa-fc12-4ca7-b140-98c38b698961"; | |
36 | |
37 const nsIID NS_IJSCONTEXTSTACKITERATOR_IID= | |
38 {0xc7e6b7aa, 0xfc12, 0x4ca7, | |
39 [ 0xb1, 0x40, 0x98, 0xc3, 0x8b, 0x69, 0x89, 0x61 ]}; | |
40 | |
41 extern(System) | |
42 | |
43 interface nsIJSContextStackIterator : nsISupports { | |
44 | |
45 static const char[] IID_STR = NS_IJSCONTEXTSTACKITERATOR_IID_STR; | |
46 static const nsIID IID = NS_IJSCONTEXTSTACKITERATOR_IID; | |
47 | |
48 nsresult Reset(nsIJSContextStack stack); | |
49 nsresult Done(PRBool *_retval); | |
50 nsresult Prev(JSContext * *_retval); | |
51 | |
52 } | |
53 | |
54 /****************************************************************************** | |
55 | |
56 ******************************************************************************/ | |
57 | |
58 const char[] NS_ITHREADJSCONTEXTSTACK_IID_STR = "a1339ae0-05c1-11d4-8f92-0010a4e73d9a"; | |
59 | |
60 const nsIID NS_ITHREADJSCONTEXTSTACK_IID= | |
61 {0xa1339ae0, 0x05c1, 0x11d4, | |
62 [ 0x8f, 0x92, 0x00, 0x10, 0xa4, 0xe7, 0x3d, 0x9a ]}; | |
63 | |
64 extern(System) | |
65 | |
66 interface nsIThreadJSContextStack : nsIJSContextStack { | |
67 | |
68 static const char[] IID_STR = NS_ITHREADJSCONTEXTSTACK_IID_STR; | |
69 static const nsIID IID = NS_ITHREADJSCONTEXTSTACK_IID; | |
70 | |
71 nsresult GetSafeJSContext(JSContext * *aSafeJSContext); | |
72 nsresult SetSafeJSContext(JSContext * aSafeJSContext); | |
73 | |
74 } | |
75 |