Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 /* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 *
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #include "nsISupports.idl"
9 interface nsISHEntry;
11 /**
12 * The nsISHEntryContainer. The interface to access child entries
13 * of an nsISHEntry.
14 *
15 */
17 [scriptable, uuid(65281BA2-988A-11d3-BDC7-0050040A9B44)]
18 interface nsISHContainer : nsISupports
19 {
20 /**
21 * The current number of nsISHEntries which are immediate children of the
22 * current SHEntry
23 */
24 readonly attribute long childCount;
26 /**
27 * Add a new child SHEntry. If offset is -1 adds to the end of the list.
28 */
29 void AddChild(in nsISHEntry child, in long offset);
31 /**
32 * Removes a child SHEntry
33 */
34 void RemoveChild(in nsISHEntry child);
36 /**
37 * Get child at an index
38 */
39 nsISHEntry GetChildAt(in long index);
41 };