security/manager/pki/src/nsNSSDialogs.h

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:030274bab0f8
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
2 *
3 * This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
6
7 #ifndef __NS_NSSDIALOGS_H__
8 #define __NS_NSSDIALOGS_H__
9
10 #include "nsITokenPasswordDialogs.h"
11 #include "nsICertificateDialogs.h"
12 #include "nsIClientAuthDialogs.h"
13 #include "nsICertPickDialogs.h"
14 #include "nsITokenDialogs.h"
15 #include "nsIDOMCryptoDialogs.h"
16 #include "nsIGenKeypairInfoDlg.h"
17 #include "nsISSLCertErrorDialog.h"
18
19 #include "nsCOMPtr.h"
20 #include "nsIStringBundle.h"
21
22 #define NS_NSSDIALOGS_CID \
23 { 0x518e071f, 0x1dd2, 0x11b2, \
24 { 0x93, 0x7e, 0xc4, 0x5f, 0x14, 0xde, 0xf7, 0x78 }}
25
26 class nsNSSDialogs
27 : public nsITokenPasswordDialogs,
28 public nsICertificateDialogs,
29 public nsIClientAuthDialogs,
30 public nsICertPickDialogs,
31 public nsITokenDialogs,
32 public nsIDOMCryptoDialogs,
33 public nsIGeneratingKeypairInfoDialogs,
34 public nsISSLCertErrorDialog
35 {
36 public:
37 NS_DECL_THREADSAFE_ISUPPORTS
38 NS_DECL_NSITOKENPASSWORDDIALOGS
39 NS_DECL_NSICERTIFICATEDIALOGS
40 NS_DECL_NSICLIENTAUTHDIALOGS
41 NS_DECL_NSICERTPICKDIALOGS
42 NS_DECL_NSITOKENDIALOGS
43 NS_DECL_NSIDOMCRYPTODIALOGS
44 NS_DECL_NSIGENERATINGKEYPAIRINFODIALOGS
45 NS_DECL_NSISSLCERTERRORDIALOG
46 nsNSSDialogs();
47 virtual ~nsNSSDialogs();
48
49 nsresult Init();
50
51 protected:
52 nsCOMPtr<nsIStringBundle> mPIPStringBundle;
53 };
54
55 #endif

mercurial