1 : /* ***** BEGIN LICENSE BLOCK *****
2 : * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3 : *
4 : * The contents of this file are subject to the Mozilla Public License Version
5 : * 1.1 (the "License"); you may not use this file except in compliance with
6 : * the License. You may obtain a copy of the License at
7 : * http://www.mozilla.org/MPL/
8 : *
9 : * Software distributed under the License is distributed on an "AS IS" basis,
10 : * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 : * for the specific language governing rights and limitations under the
12 : * License.
13 : *
14 : * The Original Code is Personal Security Manager.
15 : *
16 : * The Initial Developer of the Original Code is
17 : * the Mozilla Foundation.
18 : * Portions created by the Initial Developer are Copyright (C) 2010
19 : * the Initial Developer. All Rights Reserved.
20 : *
21 : * Contributor(s):
22 : * Hubbie Shaw
23 : * Doug Turner <dougt@netscape.com>
24 : * Brian Ryner <bryner@brianryner.com>
25 : * Kai Engert <kaie@netscape.com>
26 : * Kai Engert <kengert@redhat.com>
27 : * honzab.moz@firemni.cz
28 : *
29 : * Alternatively, the contents of this file may be used under the terms of
30 : * either the GNU General Public License Version 2 or later (the "GPL"), or
31 : * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
32 : * in which case the provisions of the GPL or the LGPL are applicable instead
33 : * of those above. If you wish to allow use of your version of this file only
34 : * under the terms of either the GPL or the LGPL, and not to allow others to
35 : * use your version of this file under the terms of the MPL, indicate your
36 : * decision by deleting the provisions above and replace them with the notice
37 : * and other provisions required by the GPL or the LGPL. If you do not delete
38 : * the provisions above, a recipient may use your version of this file under
39 : * the terms of any one of the MPL, the GPL or the LGPL.
40 : *
41 : * ***** END LICENSE BLOCK ***** */
42 :
43 : #include "nsINSSErrorsService.h"
44 :
45 : #include "nsIStringBundle.h"
46 : #include "nsCOMPtr.h"
47 :
48 : namespace mozilla {
49 : namespace psm {
50 :
51 : class NSSErrorsService : public nsINSSErrorsService
52 0 : {
53 : NS_DECL_ISUPPORTS
54 : NS_DECL_NSINSSERRORSSERVICE
55 :
56 : public:
57 : nsresult Init();
58 :
59 : private:
60 : nsCOMPtr<nsIStringBundle> mPIPNSSBundle;
61 : nsCOMPtr<nsIStringBundle> mNSSErrorsBundle;
62 : };
63 :
64 : } // psm
65 : } // mozilla
66 :
67 : #define NS_NSSERRORSSERVICE_CID \
68 : { 0x9ef18451, 0xa157, 0x4d17, { 0x81, 0x32, 0x47, 0xaf, 0xef, 0x21, 0x36, 0x89 } }
|