docshell/shistory/public/nsISHTransaction.idl

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:3f29282be8a1
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/. */
6
7 #include "nsISupports.idl"
8
9 interface nsISHEntry;
10
11 /**
12 * The nsISHTransaction.
13 */
14
15
16 [scriptable, uuid(2EDF705F-D252-4971-9F09-71DD0F760DC6)]
17 interface nsISHTransaction : nsISupports
18 {
19 /**
20 * The nsISHEntry for the current transaction
21 */
22 attribute nsISHEntry sHEntry;
23
24 /**
25 * The parent of this transaction
26 */
27 attribute nsISHTransaction prev;
28
29 /**
30 * The legitimate child of this transaction
31 */
32 attribute nsISHTransaction next;
33
34 /**
35 * Specifies if this transaction should persist. If not it will be replaced
36 * by new additions to the list.
37 */
38 attribute boolean persist;
39
40 /**
41 * Create a transaction with parent and History Entry
42 */
43 void create(in nsISHEntry aSHEntry, in nsISHTransaction aPrev);
44 };
45
46 %{ C++
47 // {BFD1A792-AD9F-11d3-BDC7-0050040A9B44}
48
49
50 #define NS_SHTRANSACTION_CID \
51 {0xbfd1a792, 0xad9f, 0x11d3, {0xbd, 0xc7, 0x0, 0x50, 0x4, 0xa, 0x9b, 0x44}}
52
53 #define NS_SHTRANSACTION_CONTRACTID \
54 "@mozilla.org/browser/session-history-transaction;1"
55
56 %}

mercurial