Mercurial > projects > dwt2
comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/mozilla/nsIEnumerator.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.nsIEnumerator; | |
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 /****************************************************************************** | |
8 | |
9 ******************************************************************************/ | |
10 | |
11 const char[] NS_IENUMERATOR_IID_STR = "ad385286-cbc4-11d2-8cca-0060b0fc14a3"; | |
12 | |
13 const nsIID NS_IENUMERATOR_IID= | |
14 {0xad385286, 0xcbc4, 0x11d2, | |
15 [ 0x8c, 0xca, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3 ]}; | |
16 | |
17 interface nsIEnumerator : nsISupports { | |
18 | |
19 static const char[] IID_STR = NS_IENUMERATOR_IID_STR; | |
20 static const nsIID IID = NS_IENUMERATOR_IID; | |
21 | |
22 extern(System): | |
23 nsresult First(); | |
24 nsresult Next(); | |
25 nsresult CurrentItem(nsISupports *_retval); | |
26 nsresult IsDone(); | |
27 | |
28 } | |
29 | |
30 /****************************************************************************** | |
31 | |
32 ******************************************************************************/ | |
33 | |
34 const char[] NS_IBIDIRECTIONALENUMERATOR_IID_STR = "75f158a0-cadd-11d2-8cca-0060b0fc14a3"; | |
35 | |
36 const nsIID NS_IBIDIRECTIONALENUMERATOR_IID= | |
37 {0x75f158a0, 0xcadd, 0x11d2, | |
38 [ 0x8c, 0xca, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3 ]}; | |
39 | |
40 interface nsIBidirectionalEnumerator : nsIEnumerator { | |
41 | |
42 static const char[] IID_STR = NS_IBIDIRECTIONALENUMERATOR_IID_STR; | |
43 static const nsIID IID = NS_IBIDIRECTIONALENUMERATOR_IID; | |
44 | |
45 extern(System): | |
46 nsresult Last(); | |
47 nsresult Prev(); | |
48 | |
49 } | |
50 |