docshell/shistory/src/nsSHTransaction.h
author Ehsan Akhgari <ehsan.akhgari@gmail.com>
Thu, 06 Feb 2014 13:28:14 -0500
changeset 172757 20a329b254aed056453d859c65a13639c293d433
parent 146738 5a5948b148fc6d35637fec9a4fa72f9b81f15497
child 259839 db70fd907041471df8102f6bd4a3250078cda8c7
permissions -rw-r--r--
Bug 968643 - Part 1: Stop using [PrefControlled]; r=bzbarsky

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef nsSHTransaction_h
#define nsSHTransaction_h

// Helper Classes
#include "nsCOMPtr.h"

// Needed interfaces
#include "nsISHTransaction.h"

class nsISHEntry;

class nsSHTransaction: public nsISHTransaction
{
public:
	NS_DECL_ISUPPORTS
	NS_DECL_NSISHTRANSACTION

	nsSHTransaction();

protected:
	virtual ~nsSHTransaction();


protected:
   bool           mPersist;

	nsISHTransaction * mPrev; // Weak Reference
	nsCOMPtr<nsISHTransaction> mNext;
	nsCOMPtr<nsISHEntry>  mSHEntry;
};


#endif   /* nsSHTransaction_h */