Line data Source code
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 :
6 : #ifndef nsIDocumentActivity_h__
7 : #define nsIDocumentActivity_h__
8 :
9 : #include "nsISupports.h"
10 :
11 : #define NS_IDOCUMENTACTIVITY_IID \
12 : { 0x9b9f584e, 0xefa8, 0x11e3, \
13 : { 0xbb, 0x74, 0x5e, 0xdd, 0x1d, 0x5d, 0x46, 0xb0 } }
14 :
15 0 : class nsIDocumentActivity : public nsISupports
16 : {
17 : public:
18 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IDOCUMENTACTIVITY_IID)
19 :
20 : virtual void NotifyOwnerDocumentActivityChanged() = 0;
21 : };
22 :
23 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIDocumentActivity, NS_IDOCUMENTACTIVITY_IID)
24 :
25 : /* Use this macro when declaring classes that implement this interface. */
26 : #define NS_DECL_NSIDOCUMENTACTIVITY \
27 : virtual void NotifyOwnerDocumentActivityChanged() override;
28 :
29 : #endif /* nsIDocumentActivity_h__ */
|