xpcom/ds/nsIStringEnumerator.idl

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:73d618191df6
1 /* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3 * License, v. 2.0. If a copy of the MPL was not distributed with this
4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5
6 #include "nsISupports.idl"
7
8 /**
9 * Used to enumerate over an ordered list of strings.
10 */
11
12 [scriptable, uuid(50d3ef6c-9380-4f06-9fb2-95488f7d141c)]
13 interface nsIStringEnumerator : nsISupports
14 {
15 boolean hasMore();
16 AString getNext();
17 };
18
19 [scriptable, uuid(9bdf1010-3695-4907-95ed-83d0410ec307)]
20 interface nsIUTF8StringEnumerator : nsISupports
21 {
22 boolean hasMore();
23 AUTF8String getNext();
24 };
25

mercurial