michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- michael@0: * michael@0: * This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef __NS_NSSDIALOGS_H__ michael@0: #define __NS_NSSDIALOGS_H__ michael@0: michael@0: #include "nsITokenPasswordDialogs.h" michael@0: #include "nsICertificateDialogs.h" michael@0: #include "nsIClientAuthDialogs.h" michael@0: #include "nsICertPickDialogs.h" michael@0: #include "nsITokenDialogs.h" michael@0: #include "nsIDOMCryptoDialogs.h" michael@0: #include "nsIGenKeypairInfoDlg.h" michael@0: #include "nsISSLCertErrorDialog.h" michael@0: michael@0: #include "nsCOMPtr.h" michael@0: #include "nsIStringBundle.h" michael@0: michael@0: #define NS_NSSDIALOGS_CID \ michael@0: { 0x518e071f, 0x1dd2, 0x11b2, \ michael@0: { 0x93, 0x7e, 0xc4, 0x5f, 0x14, 0xde, 0xf7, 0x78 }} michael@0: michael@0: class nsNSSDialogs michael@0: : public nsITokenPasswordDialogs, michael@0: public nsICertificateDialogs, michael@0: public nsIClientAuthDialogs, michael@0: public nsICertPickDialogs, michael@0: public nsITokenDialogs, michael@0: public nsIDOMCryptoDialogs, michael@0: public nsIGeneratingKeypairInfoDialogs, michael@0: public nsISSLCertErrorDialog michael@0: { michael@0: public: michael@0: NS_DECL_THREADSAFE_ISUPPORTS michael@0: NS_DECL_NSITOKENPASSWORDDIALOGS michael@0: NS_DECL_NSICERTIFICATEDIALOGS michael@0: NS_DECL_NSICLIENTAUTHDIALOGS michael@0: NS_DECL_NSICERTPICKDIALOGS michael@0: NS_DECL_NSITOKENDIALOGS michael@0: NS_DECL_NSIDOMCRYPTODIALOGS michael@0: NS_DECL_NSIGENERATINGKEYPAIRINFODIALOGS michael@0: NS_DECL_NSISSLCERTERRORDIALOG michael@0: nsNSSDialogs(); michael@0: virtual ~nsNSSDialogs(); michael@0: michael@0: nsresult Init(); michael@0: michael@0: protected: michael@0: nsCOMPtr mPIPStringBundle; michael@0: }; michael@0: michael@0: #endif