michael@0: /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- michael@0: * michael@0: * This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef nsSHTransaction_h michael@0: #define nsSHTransaction_h michael@0: michael@0: // Helper Classes michael@0: #include "nsCOMPtr.h" michael@0: michael@0: // Needed interfaces michael@0: #include "nsISHTransaction.h" michael@0: michael@0: class nsISHEntry; michael@0: michael@0: class nsSHTransaction: public nsISHTransaction michael@0: { michael@0: public: michael@0: NS_DECL_ISUPPORTS michael@0: NS_DECL_NSISHTRANSACTION michael@0: michael@0: nsSHTransaction(); michael@0: michael@0: protected: michael@0: virtual ~nsSHTransaction(); michael@0: michael@0: michael@0: protected: michael@0: bool mPersist; michael@0: michael@0: nsISHTransaction * mPrev; // Weak Reference michael@0: nsCOMPtr mNext; michael@0: nsCOMPtr mSHEntry; michael@0: }; michael@0: michael@0: michael@0: #endif /* nsSHTransaction_h */