125
|
1 module dwt.internal.mozilla.nsIStringEnumerator;
|
|
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.nsStringAPI;
|
|
8
|
|
9 /******************************************************************************
|
|
10
|
|
11 ******************************************************************************/
|
|
12
|
|
13 const char[] NS_ISTRINGENUMERATOR_IID_STR = "50d3ef6c-9380-4f06-9fb2-95488f7d141c";
|
|
14
|
|
15 const nsIID NS_ISTRINGENUMERATOR_IID=
|
|
16 {0x50d3ef6c, 0x9380, 0x4f06,
|
|
17 [ 0x9f, 0xb2, 0x95, 0x48, 0x8f, 0x7d, 0x14, 0x1c ]};
|
|
18
|
|
19 interface nsIStringEnumerator : nsISupports {
|
|
20
|
|
21 static const char[] IID_STR = NS_ISTRINGENUMERATOR_IID_STR;
|
|
22 static const nsIID IID = NS_ISTRINGENUMERATOR_IID;
|
|
23
|
|
24 extern(System):
|
|
25 nsresult HasMore(PRBool *_retval);
|
|
26 nsresult GetNext(nsAString * _retval);
|
|
27
|
|
28 }
|
|
29
|
|
30 /******************************************************************************
|
|
31
|
|
32 ******************************************************************************/
|
|
33
|
|
34 const char[] NS_IUTF8STRINGENUMERATOR_IID_STR = "9bdf1010-3695-4907-95ed-83d0410ec307";
|
|
35
|
|
36 const nsIID NS_IUTF8STRINGENUMERATOR_IID=
|
|
37 {0x9bdf1010, 0x3695, 0x4907,
|
|
38 [ 0x95, 0xed, 0x83, 0xd0, 0x41, 0x0e, 0xc3, 0x07 ]};
|
|
39
|
|
40 interface nsIUTF8StringEnumerator : nsISupports {
|
|
41
|
|
42 static const char[] IID_STR = NS_IUTF8STRINGENUMERATOR_IID_STR;
|
|
43 static const nsIID IID = NS_IUTF8STRINGENUMERATOR_IID;
|
|
44
|
|
45 extern(System):
|
|
46 nsresult HasMore(PRBool *_retval);
|
|
47 nsresult GetNext(nsACString * _retval);
|
|
48
|
|
49 }
|
|
50
|