Mercurial > projects > dwt-linux
comparison dwt/internal/mozilla.old/nsIWeakReference.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.nsIWeakReference; | |
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_IWEAKREFERENCE_IID_STR = "9188bc85-f92e-11d2-81ef-0060083a0bcf"; | |
12 | |
13 const nsIID NS_IWEAKREFERENCE_IID= | |
14 {0x9188bc85, 0xf92e, 0x11d2, | |
15 [ 0x81, 0xef, 0x00, 0x60, 0x08, 0x3a, 0x0b, 0xcf ]}; | |
16 | |
17 extern(System) | |
18 | |
19 interface nsIWeakReference : nsISupports { | |
20 | |
21 static const char[] IID_STR = NS_IWEAKREFERENCE_IID_STR; | |
22 static const nsIID IID = NS_IWEAKREFERENCE_IID; | |
23 | |
24 nsresult QueryReferent(nsIID * uuid, void * *result); | |
25 | |
26 } | |
27 | |
28 /****************************************************************************** | |
29 | |
30 ******************************************************************************/ | |
31 | |
32 const char[] NS_ISUPPORTSWEAKREFERENCE_IID_STR = "9188bc86-f92e-11d2-81ef-0060083a0bcf"; | |
33 | |
34 const nsIID NS_ISUPPORTSWEAKREFERENCE_IID= | |
35 {0x9188bc86, 0xf92e, 0x11d2, | |
36 [ 0x81, 0xef, 0x00, 0x60, 0x08, 0x3a, 0x0b, 0xcf ]}; | |
37 | |
38 extern(System) | |
39 | |
40 interface nsISupportsWeakReference : nsISupports { | |
41 | |
42 static const char[] IID_STR = NS_ISUPPORTSWEAKREFERENCE_IID_STR; | |
43 static const nsIID IID = NS_ISUPPORTSWEAKREFERENCE_IID; | |
44 | |
45 nsresult GetWeakReference(nsIWeakReference *_retval); | |
46 | |
47 } | |
48 |