nsSHTransaction.h 800 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /* This Source Code Form is subject to the terms of the Mozilla Public
  3. * License, v. 2.0. If a copy of the MPL was not distributed with this
  4. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  5. #ifndef nsSHTransaction_h
  6. #define nsSHTransaction_h
  7. // Helper Classes
  8. #include "nsCOMPtr.h"
  9. // Needed interfaces
  10. #include "nsISHTransaction.h"
  11. class nsISHEntry;
  12. class nsSHTransaction : public nsISHTransaction
  13. {
  14. public:
  15. NS_DECL_ISUPPORTS
  16. NS_DECL_NSISHTRANSACTION
  17. nsSHTransaction();
  18. protected:
  19. virtual ~nsSHTransaction();
  20. protected:
  21. bool mPersist;
  22. nsISHTransaction* mPrev; // Weak Reference
  23. nsCOMPtr<nsISHTransaction> mNext;
  24. nsCOMPtr<nsISHEntry> mSHEntry;
  25. };
  26. #endif /* nsSHTransaction_h */