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: #ifndef _NSPKIPARAMBLOCK_ michael@0: #define _NSPKIPARAMBLOCK_ michael@0: #include "nsCOMPtr.h" michael@0: #include "nsIPKIParamBlock.h" michael@0: #include "nsIDialogParamBlock.h" michael@0: #include "nsISupportsArray.h" michael@0: michael@0: #define NS_PKIPARAMBLOCK_CID \ michael@0: { 0x0bec75a8, 0x1dd2, 0x11b2, \ michael@0: { 0x86, 0x3a, 0xf6, 0x9f, 0x77, 0xc3, 0x13, 0x71 }} michael@0: michael@0: #define NS_PKIPARAMBLOCK_CONTRACTID "@mozilla.org/security/pkiparamblock;1" michael@0: michael@0: class nsPKIParamBlock : public nsIPKIParamBlock, michael@0: public nsIDialogParamBlock michael@0: { michael@0: public: michael@0: michael@0: nsPKIParamBlock(); michael@0: virtual ~nsPKIParamBlock(); michael@0: nsresult Init(); michael@0: michael@0: NS_DECL_NSIPKIPARAMBLOCK michael@0: NS_DECL_NSIDIALOGPARAMBLOCK michael@0: NS_DECL_THREADSAFE_ISUPPORTS michael@0: private: michael@0: nsCOMPtr mDialogParamBlock; michael@0: nsCOMPtr mSupports; michael@0: }; michael@0: michael@0: #endif //_NSPKIPARAMBLOCK_