Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions
nsILocaleService.idl File Reference
import "nsISupports.idl";
import "nsILocale.idl";

Go to the source code of this file.

Classes

interface  nsILocaleDefinition
interface  nsILocaleService

Defines

#define NS_LOCALESERVICE_CID   {0xc8e518c1,0x47ae,0x11d3,{0x91,0xcd,0x0,0x10,0x5a,0xa3,0xf7,0xdc}}
#define NS_LOCALESERVICE_CONTRACTID   "@mozilla.org/intl/nslocaleservice;1"

Functions

nsresult NS_NewLocaleService (nsILocaleService **result)
nsresult NS_NewLocaleDefinition (nsILocaleDefinition **result)

Define Documentation

#define NS_LOCALESERVICE_CID   {0xc8e518c1,0x47ae,0x11d3,{0x91,0xcd,0x0,0x10,0x5a,0xa3,0xf7,0xdc}}

Definition at line 62 of file nsILocaleService.idl.

#define NS_LOCALESERVICE_CONTRACTID   "@mozilla.org/intl/nslocaleservice;1"

Definition at line 63 of file nsILocaleService.idl.


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: