Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions
nsNSSDialogs.cpp File Reference
#include "nsCOMPtr.h"
#include "nsString.h"
#include "nsXPIDLString.h"
#include "nsReadableUtils.h"
#include "nsIPrompt.h"
#include "nsIDOMWindowInternal.h"
#include "nsIDialogParamBlock.h"
#include "nsIComponentManager.h"
#include "nsIServiceManager.h"
#include "nsIStringBundle.h"
#include "nsIInterfaceRequestor.h"
#include "nsIInterfaceRequestorUtils.h"
#include "nsIX509Cert.h"
#include "nsIX509CertDB.h"
#include "nsILocaleService.h"
#include "nsIDateTimeFormat.h"
#include "nsDateTimeFormatCID.h"
#include "nsNSSDialogs.h"
#include "nsPKIParamBlock.h"
#include "nsIKeygenThread.h"
#include "nsNSSDialogHelper.h"
#include "nsIX509CertValidity.h"
#include "nsICRLInfo.h"

Go to the source code of this file.

Defines

#define PIPSTRING_BUNDLE_URL   "chrome://pippki/locale/pippki.properties"

Functions

static NS_DEFINE_CID (kCStringBundleServiceCID, NS_STRINGBUNDLESERVICE_CID)
static NS_DEFINE_CID (kDateTimeFormatCID, NS_DATETIMEFORMAT_CID)
static NS_DEFINE_CID (kPKIParamBlockCID, NS_PKIPARAMBLOCK_CID)
 NS_IMPL_THREADSAFE_ISUPPORTS8 (nsNSSDialogs, nsITokenPasswordDialogs, nsIBadCertListener, nsICertificateDialogs, nsIClientAuthDialogs, nsICertPickDialogs, nsITokenDialogs, nsIDOMCryptoDialogs, nsIGeneratingKeypairInfoDialogs) nsresult nsNSSDialogs

Define Documentation

#define PIPSTRING_BUNDLE_URL   "chrome://pippki/locale/pippki.properties"

Definition at line 69 of file nsNSSDialogs.cpp.


Function Documentation

static NS_DEFINE_CID ( kCStringBundleServiceCID  ,
NS_STRINGBUNDLESERVICE_CID   
) [static]
static NS_DEFINE_CID ( kDateTimeFormatCID  ,
NS_DATETIMEFORMAT_CID   
) [static]
static NS_DEFINE_CID ( kPKIParamBlockCID  ,
NS_PKIPARAMBLOCK_CID   
) [static]

Definition at line 85 of file nsNSSDialogs.cpp.

{
  nsresult rv;

  nsCOMPtr<nsIStringBundleService> service = do_GetService(kCStringBundleServiceCID, &rv);
  if (NS_FAILED(rv)) return rv;
  
  rv = service->CreateBundle(PIPSTRING_BUNDLE_URL,
                             getter_AddRefs(mPIPStringBundle));
  return rv;
}

Here is the call graph for this function: