diff -r 000000000000 -r 6474c204b198 security/manager/pki/src/nsNSSDialogs.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/security/manager/pki/src/nsNSSDialogs.h Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,55 @@ +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- + * + * This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +#ifndef __NS_NSSDIALOGS_H__ +#define __NS_NSSDIALOGS_H__ + +#include "nsITokenPasswordDialogs.h" +#include "nsICertificateDialogs.h" +#include "nsIClientAuthDialogs.h" +#include "nsICertPickDialogs.h" +#include "nsITokenDialogs.h" +#include "nsIDOMCryptoDialogs.h" +#include "nsIGenKeypairInfoDlg.h" +#include "nsISSLCertErrorDialog.h" + +#include "nsCOMPtr.h" +#include "nsIStringBundle.h" + +#define NS_NSSDIALOGS_CID \ + { 0x518e071f, 0x1dd2, 0x11b2, \ + { 0x93, 0x7e, 0xc4, 0x5f, 0x14, 0xde, 0xf7, 0x78 }} + +class nsNSSDialogs +: public nsITokenPasswordDialogs, + public nsICertificateDialogs, + public nsIClientAuthDialogs, + public nsICertPickDialogs, + public nsITokenDialogs, + public nsIDOMCryptoDialogs, + public nsIGeneratingKeypairInfoDialogs, + public nsISSLCertErrorDialog +{ +public: + NS_DECL_THREADSAFE_ISUPPORTS + NS_DECL_NSITOKENPASSWORDDIALOGS + NS_DECL_NSICERTIFICATEDIALOGS + NS_DECL_NSICLIENTAUTHDIALOGS + NS_DECL_NSICERTPICKDIALOGS + NS_DECL_NSITOKENDIALOGS + NS_DECL_NSIDOMCRYPTODIALOGS + NS_DECL_NSIGENERATINGKEYPAIRINFODIALOGS + NS_DECL_NSISSLCERTERRORDIALOG + nsNSSDialogs(); + virtual ~nsNSSDialogs(); + + nsresult Init(); + +protected: + nsCOMPtr mPIPStringBundle; +}; + +#endif