|
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ |
|
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 nsAboutRedirector_h__ |
|
7 #define nsAboutRedirector_h__ |
|
8 |
|
9 #include "nsIAboutModule.h" |
|
10 |
|
11 class nsAboutRedirector : public nsIAboutModule |
|
12 { |
|
13 public: |
|
14 NS_DECL_ISUPPORTS |
|
15 |
|
16 NS_DECL_NSIABOUTMODULE |
|
17 |
|
18 nsAboutRedirector() {} |
|
19 virtual ~nsAboutRedirector() {} |
|
20 |
|
21 static nsresult |
|
22 Create(nsISupports *aOuter, REFNSIID aIID, void **aResult); |
|
23 |
|
24 protected: |
|
25 }; |
|
26 |
|
27 #define NS_ABOUT_REDIRECTOR_MODULE_CID \ |
|
28 { /* f0acde16-1dd1-11b2-9e35-f5786fff5a66*/ \ |
|
29 0xf0acde16, \ |
|
30 0x1dd1, \ |
|
31 0x11b2, \ |
|
32 {0x9e, 0x35, 0xf5, 0x78, 0x6f, 0xff, 0x5a, 0x66} \ |
|
33 } |
|
34 |
|
35 #endif // nsAboutRedirector_h__ |