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