docshell/shistory/src/nsSHTransaction.h

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 /* -*- Mode: C++; 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 #ifndef nsSHTransaction_h
     8 #define nsSHTransaction_h
    10 // Helper Classes
    11 #include "nsCOMPtr.h"
    13 // Needed interfaces
    14 #include "nsISHTransaction.h"
    16 class nsISHEntry;
    18 class nsSHTransaction: public nsISHTransaction
    19 {
    20 public:
    21 	NS_DECL_ISUPPORTS
    22 	NS_DECL_NSISHTRANSACTION
    24 	nsSHTransaction();
    26 protected:
    27 	virtual ~nsSHTransaction();
    30 protected:
    31    bool           mPersist;
    33 	nsISHTransaction * mPrev; // Weak Reference
    34 	nsCOMPtr<nsISHTransaction> mNext;
    35 	nsCOMPtr<nsISHEntry>  mSHEntry;
    36 };
    39 #endif   /* nsSHTransaction_h */

mercurial