|
1 /* This Source Code Form is subject to the terms of the Mozilla Public |
|
2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
4 |
|
5 #include "nsINSSErrorsService.h" |
|
6 |
|
7 #include "nsIStringBundle.h" |
|
8 #include "nsCOMPtr.h" |
|
9 #include "mozilla/Attributes.h" |
|
10 |
|
11 namespace mozilla { |
|
12 namespace psm { |
|
13 |
|
14 class NSSErrorsService MOZ_FINAL : public nsINSSErrorsService |
|
15 { |
|
16 NS_DECL_ISUPPORTS |
|
17 NS_DECL_NSINSSERRORSSERVICE |
|
18 |
|
19 public: |
|
20 nsresult Init(); |
|
21 |
|
22 private: |
|
23 nsCOMPtr<nsIStringBundle> mPIPNSSBundle; |
|
24 nsCOMPtr<nsIStringBundle> mNSSErrorsBundle; |
|
25 }; |
|
26 |
|
27 } // psm |
|
28 } // mozilla |
|
29 |
|
30 #define NS_NSSERRORSSERVICE_CID \ |
|
31 { 0x9ef18451, 0xa157, 0x4d17, { 0x81, 0x32, 0x47, 0xaf, 0xef, 0x21, 0x36, 0x89 } } |