docshell/shistory/src/nsSHTransaction.h
author Phil Ringnalda <philringnalda@gmail.com>
Sat, 24 Jan 2015 08:27:17 -0800
changeset 225517 1cf171c1a17746ee518a39ab41864c8e29a43686
parent 145444 5a5948b148fc6d35637fec9a4fa72f9b81f15497
child 242677 db70fd907041471df8102f6bd4a3250078cda8c7
permissions -rw-r--r--
Merge m-i to m-c, a=merge

/* -*- 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 */