nsIDocumentActivity.h 967 B

123456789101112131415161718192021222324252627282930
  1. /* -*- Mode: C++; tab-width: 2; 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 nsIDocumentActivity_h__
  6. #define nsIDocumentActivity_h__
  7. #include "nsISupports.h"
  8. #define NS_IDOCUMENTACTIVITY_IID \
  9. { 0x9b9f584e, 0xefa8, 0x11e3, \
  10. { 0xbb, 0x74, 0x5e, 0xdd, 0x1d, 0x5d, 0x46, 0xb0 } }
  11. class nsIDocumentActivity : public nsISupports
  12. {
  13. public:
  14. NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOCUMENTACTIVITY_IID)
  15. virtual void NotifyOwnerDocumentActivityChanged() = 0;
  16. };
  17. NS_DEFINE_STATIC_IID_ACCESSOR(nsIDocumentActivity, NS_IDOCUMENTACTIVITY_IID)
  18. /* Use this macro when declaring classes that implement this interface. */
  19. #define NS_DECL_NSIDOCUMENTACTIVITY \
  20. virtual void NotifyOwnerDocumentActivityChanged() override;
  21. #endif /* nsIDocumentActivity_h__ */