Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions | Variables
nsLocaleService.cpp File Reference
#include "nsCOMPtr.h"
#include "nsILocale.h"
#include "nsILocaleService.h"
#include "nsLocale.h"
#include "nsLocaleCID.h"
#include "nsServiceManagerUtils.h"
#include "nsReadableUtils.h"
#include "nsCRT.h"
#include "prprf.h"
#include "nsAutoBuffer.h"
#include <ctype.h>

Go to the source code of this file.

Classes

class  nsLocaleService
class  nsLocaleDefinition

Defines

#define NSILOCALE_MAX_ACCEPT_LANGUAGE   16
#define NSILOCALE_MAX_ACCEPT_LENGTH   18

Functions

nsresult NS_NewLocaleService (nsILocaleService **result)

Variables

const int LocaleListLength = 6
const char * LocaleList [LocaleListLength]

Define Documentation

Definition at line 78 of file nsLocaleService.cpp.

Definition at line 79 of file nsLocaleService.cpp.


Function Documentation

Definition at line 566 of file nsLocaleService.cpp.

{
  if(!result)
    return NS_ERROR_NULL_POINTER;
  *result = new nsLocaleService();
  if (! *result)
    return NS_ERROR_OUT_OF_MEMORY;
  NS_ADDREF(*result);
  return NS_OK;
}

Here is the call graph for this function:


Variable Documentation

Definition at line 67 of file nsLocaleService.cpp.