125
|
1 module dwt.internal.mozilla.nsIEnumerator;
|
|
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_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
|