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.
michael@0 | 1 | /* -*- Mode: IDL; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- |
michael@0 | 2 | * |
michael@0 | 3 | * This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 6 | |
michael@0 | 7 | #include "nsISupports.idl" |
michael@0 | 8 | |
michael@0 | 9 | interface nsISHEntry; |
michael@0 | 10 | |
michael@0 | 11 | /** |
michael@0 | 12 | * The nsISHTransaction. |
michael@0 | 13 | */ |
michael@0 | 14 | |
michael@0 | 15 | |
michael@0 | 16 | [scriptable, uuid(2EDF705F-D252-4971-9F09-71DD0F760DC6)] |
michael@0 | 17 | interface nsISHTransaction : nsISupports |
michael@0 | 18 | { |
michael@0 | 19 | /** |
michael@0 | 20 | * The nsISHEntry for the current transaction |
michael@0 | 21 | */ |
michael@0 | 22 | attribute nsISHEntry sHEntry; |
michael@0 | 23 | |
michael@0 | 24 | /** |
michael@0 | 25 | * The parent of this transaction |
michael@0 | 26 | */ |
michael@0 | 27 | attribute nsISHTransaction prev; |
michael@0 | 28 | |
michael@0 | 29 | /** |
michael@0 | 30 | * The legitimate child of this transaction |
michael@0 | 31 | */ |
michael@0 | 32 | attribute nsISHTransaction next; |
michael@0 | 33 | |
michael@0 | 34 | /** |
michael@0 | 35 | * Specifies if this transaction should persist. If not it will be replaced |
michael@0 | 36 | * by new additions to the list. |
michael@0 | 37 | */ |
michael@0 | 38 | attribute boolean persist; |
michael@0 | 39 | |
michael@0 | 40 | /** |
michael@0 | 41 | * Create a transaction with parent and History Entry |
michael@0 | 42 | */ |
michael@0 | 43 | void create(in nsISHEntry aSHEntry, in nsISHTransaction aPrev); |
michael@0 | 44 | }; |
michael@0 | 45 | |
michael@0 | 46 | %{ C++ |
michael@0 | 47 | // {BFD1A792-AD9F-11d3-BDC7-0050040A9B44} |
michael@0 | 48 | |
michael@0 | 49 | |
michael@0 | 50 | #define NS_SHTRANSACTION_CID \ |
michael@0 | 51 | {0xbfd1a792, 0xad9f, 0x11d3, {0xbd, 0xc7, 0x0, 0x50, 0x4, 0xa, 0x9b, 0x44}} |
michael@0 | 52 | |
michael@0 | 53 | #define NS_SHTRANSACTION_CONTRACTID \ |
michael@0 | 54 | "@mozilla.org/browser/session-history-transaction;1" |
michael@0 | 55 | |
michael@0 | 56 | %} |