nsNSSDialogs.h (932B)
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 nsNSSDialogs_h 8 #define nsNSSDialogs_h 9 10 #include "nsCOMPtr.h" 11 #include "nsICertificateDialogs.h" 12 #include "nsIStringBundle.h" 13 #include "nsITokenPasswordDialogs.h" 14 15 #define NS_NSSDIALOGS_CID \ 16 {0x518e071f, 0x1dd2, 0x11b2, {0x93, 0x7e, 0xc4, 0x5f, 0x14, 0xde, 0xf7, 0x78}} 17 18 class nsNSSDialogs : public nsICertificateDialogs, 19 public nsITokenPasswordDialogs { 20 public: 21 NS_DECL_THREADSAFE_ISUPPORTS 22 NS_DECL_NSITOKENPASSWORDDIALOGS 23 NS_DECL_NSICERTIFICATEDIALOGS 24 nsNSSDialogs(); 25 26 nsresult Init(); 27 28 protected: 29 virtual ~nsNSSDialogs(); 30 nsCOMPtr<nsIStringBundle> mPIPStringBundle; 31 }; 32 33 #endif // nsNSSDialogs_h