Mercurial > projects > dwt2
comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/mozilla/nsICollection.d @ 0:6dd524f61e62
add dwt win and basic java stuff
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 02 Mar 2009 14:44:16 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:6dd524f61e62 |
---|---|
1 module org.eclipse.swt.internal.mozilla.nsICollection; | |
2 | |
3 import org.eclipse.swt.internal.mozilla.Common; | |
4 import org.eclipse.swt.internal.mozilla.nsID; | |
5 import org.eclipse.swt.internal.mozilla.nsISupports; | |
6 | |
7 import org.eclipse.swt.internal.mozilla.nsISerializable; | |
8 import org.eclipse.swt.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 interface nsICollection : nsISerializable { | |
17 | |
18 static const char[] IID_STR = NS_ICOLLECTION_IID_STR; | |
19 static const nsIID IID = NS_ICOLLECTION_IID; | |
20 | |
21 extern(System): | |
22 nsresult Count(PRUint32 *_retval); | |
23 nsresult GetElementAt(PRUint32 index, nsISupports *_retval); | |
24 nsresult QueryElementAt(PRUint32 index, nsIID * uuid, void * *result); | |
25 nsresult SetElementAt(PRUint32 index, nsISupports item); | |
26 nsresult AppendElement(nsISupports item); | |
27 nsresult RemoveElement(nsISupports item); | |
28 nsresult Enumerate(nsIEnumerator *_retval); | |
29 nsresult Clear(); | |
30 | |
31 } | |
32 |