Mercurial > projects > dwt-linux
comparison dwt/internal/mozilla/nsICollection.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.nsICollection; | |
2 | |
3 import dwt.internal.mozilla.Common; | |
4 import dwt.internal.mozilla.nsID; | |
5 import dwt.internal.mozilla.nsISupports; | |
6 | |
7 import dwt.internal.mozilla.nsISerializable; | |
8 import dwt.internal.mozilla.nsIEnumerator; | |
9 | |
10 const char[] NS_ICOLLECTION_IID_STR = "83b6019c-cbc4-11d2-8cca-0060b0fc14a3"; | |
11 | |
12 const nsIID NS_ICOLLECTION_IID= | |
13 {0x83b6019c, 0xcbc4, 0x11d2, | |
14 [ 0x8c, 0xca, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3 ]}; | |
15 | |
16 extern(System) | |
17 | |
18 interface nsICollection : nsISerializable { | |
19 | |
20 static const char[] IID_STR = NS_ICOLLECTION_IID_STR; | |
21 static const nsIID IID = NS_ICOLLECTION_IID; | |
22 | |
23 nsresult Count(PRUint32 *_retval); | |
24 nsresult GetElementAt(PRUint32 index, nsISupports *_retval); | |
25 nsresult QueryElementAt(PRUint32 index, nsIID * uuid, void * *result); | |
26 nsresult SetElementAt(PRUint32 index, nsISupports item); | |
27 nsresult AppendElement(nsISupports item); | |
28 nsresult RemoveElement(nsISupports item); | |
29 nsresult Enumerate(nsIEnumerator *_retval); | |
30 nsresult Clear(); | |
31 | |
32 } | |
33 |