Revision ba9384bb644c609dd9a0033f3e5c500d0c32a46c authored by Henrik Skupin on 26 February 2016, 22:34:56 UTC, committed by Henrik Skupin on 26 February 2016, 22:34:56 UTC
MozReview-Commit-ID: 89bOoLwHMgK

--HG--
extra : source : 7ba4a5c7bc0e4781be1befa2642f1a747eef6690
extra : intermediate-source : 4361e9c2485e6a5e79e162e0194a78f1e263cfad
1 parent 2c7d4a6
Raw File
nsSHTransaction.h
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* 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 */
back to top