Interface nsIStringBundleServiceType

Hierarchy

Methods

  • Increases the reference count for this interface. The associated instance will not be deleted unless the reference count is returned to zero.

    Returns

    The resulting reference count.

    Returns number

  • Parameters

    • aIID: object
    • Optional aInstancePtr: object

    Returns any

  • A run time mechanism for interface discovery.

    Returns

    NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.

    aInstancePtr must not be null.

    Parameters

    • aIID: object

      [in] A requested interface IID

    • aInstancePtr: object

      [out] A pointer to an interface pointer to receive the result.

    Returns void

  • Decreases the reference count for this interface. Generally, if the reference count returns to zero, the associated instance is deleted.

    Returns

    The resulting reference count.

    Returns number

  • Parameters

    • aURLSpec: string

    Returns nsIStringBundle

  • flushes the string bundle cache - useful when the locale changes or when we need to get some extra memory back

    at some point, we might want to make this flush all the bundles, because any bundles that are floating around when the locale changes will suddenly contain bad data

    Returns void

  • Formats a message string from a status code and status arguments.

    Returns

    the formatted message

    Parameters

    • aStatus: number

      The status code. This is mapped into a string ID and used in the string lookup process.

    • aStatusArg: wstring

      The status message argument(s). Multiple arguments can be separated by newline ('\n') characters.

    Returns string

  • Parameters

    • aBundleURL: string
    • aMapFile: FileDescriptor
    • aMapSize: number

    Returns void

  • Parameters

    • aContentParent: ContentParent

    Returns void

  • Parameters

    • aMallocSizeOf: MallocSizeOf

    Returns number

Generated using TypeDoc