Mercurial > projects > dwt-win
comparison dwt/internal/mozilla/nsIWeakReference.d @ 327:b0d7eb5bd76c
Adding Mozilla XPCOM interfaces from dwt-linux to dwt-win
author | John Reimer <terminal.node@gmail.com> |
---|---|
date | Fri, 02 Jan 2009 17:45:10 -0800 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
326:e4d29367b1fa | 327:b0d7eb5bd76c |
---|---|
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 interface nsIWeakReference : nsISupports { | |
18 | |
19 static const char[] IID_STR = NS_IWEAKREFERENCE_IID_STR; | |
20 static const nsIID IID = NS_IWEAKREFERENCE_IID; | |
21 | |
22 extern(System): | |
23 nsresult QueryReferent(nsIID * uuid, void * *result); | |
24 | |
25 } | |
26 | |
27 /****************************************************************************** | |
28 | |
29 ******************************************************************************/ | |
30 | |
31 const char[] NS_ISUPPORTSWEAKREFERENCE_IID_STR = "9188bc86-f92e-11d2-81ef-0060083a0bcf"; | |
32 | |
33 const nsIID NS_ISUPPORTSWEAKREFERENCE_IID= | |
34 {0x9188bc86, 0xf92e, 0x11d2, | |
35 [ 0x81, 0xef, 0x00, 0x60, 0x08, 0x3a, 0x0b, 0xcf ]}; | |
36 | |
37 interface nsISupportsWeakReference : nsISupports { | |
38 | |
39 static const char[] IID_STR = NS_ISUPPORTSWEAKREFERENCE_IID_STR; | |
40 static const nsIID IID = NS_ISUPPORTSWEAKREFERENCE_IID; | |
41 | |
42 extern(System): | |
43 nsresult GetWeakReference(nsIWeakReference *_retval); | |
44 | |
45 } | |
46 |