1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/security/manager/pki/src/nsNSSDialogs.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,55 @@ 1.4 +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- 1.5 + * 1.6 + * This Source Code Form is subject to the terms of the Mozilla Public 1.7 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.9 + 1.10 +#ifndef __NS_NSSDIALOGS_H__ 1.11 +#define __NS_NSSDIALOGS_H__ 1.12 + 1.13 +#include "nsITokenPasswordDialogs.h" 1.14 +#include "nsICertificateDialogs.h" 1.15 +#include "nsIClientAuthDialogs.h" 1.16 +#include "nsICertPickDialogs.h" 1.17 +#include "nsITokenDialogs.h" 1.18 +#include "nsIDOMCryptoDialogs.h" 1.19 +#include "nsIGenKeypairInfoDlg.h" 1.20 +#include "nsISSLCertErrorDialog.h" 1.21 + 1.22 +#include "nsCOMPtr.h" 1.23 +#include "nsIStringBundle.h" 1.24 + 1.25 +#define NS_NSSDIALOGS_CID \ 1.26 + { 0x518e071f, 0x1dd2, 0x11b2, \ 1.27 + { 0x93, 0x7e, 0xc4, 0x5f, 0x14, 0xde, 0xf7, 0x78 }} 1.28 + 1.29 +class nsNSSDialogs 1.30 +: public nsITokenPasswordDialogs, 1.31 + public nsICertificateDialogs, 1.32 + public nsIClientAuthDialogs, 1.33 + public nsICertPickDialogs, 1.34 + public nsITokenDialogs, 1.35 + public nsIDOMCryptoDialogs, 1.36 + public nsIGeneratingKeypairInfoDialogs, 1.37 + public nsISSLCertErrorDialog 1.38 +{ 1.39 +public: 1.40 + NS_DECL_THREADSAFE_ISUPPORTS 1.41 + NS_DECL_NSITOKENPASSWORDDIALOGS 1.42 + NS_DECL_NSICERTIFICATEDIALOGS 1.43 + NS_DECL_NSICLIENTAUTHDIALOGS 1.44 + NS_DECL_NSICERTPICKDIALOGS 1.45 + NS_DECL_NSITOKENDIALOGS 1.46 + NS_DECL_NSIDOMCRYPTODIALOGS 1.47 + NS_DECL_NSIGENERATINGKEYPAIRINFODIALOGS 1.48 + NS_DECL_NSISSLCERTERRORDIALOG 1.49 + nsNSSDialogs(); 1.50 + virtual ~nsNSSDialogs(); 1.51 + 1.52 + nsresult Init(); 1.53 + 1.54 +protected: 1.55 + nsCOMPtr<nsIStringBundle> mPIPStringBundle; 1.56 +}; 1.57 + 1.58 +#endif