Back to index

lightning-sunbird  0.9+nobinonly
Public Attributes
nsIXULRuntime Interface Reference

Provides information about the XUL runtime. More...

import "nsIXULRuntime.idl";

Inheritance diagram for nsIXULRuntime:
Inheritance graph
[legend]
Collaboration diagram for nsIXULRuntime:
Collaboration graph
[legend]

List of all members.

Public Attributes

readonly attribute boolean inSafeMode
 Whether the application was launched in safe mode.
attribute boolean logConsoleErrors
 Whether to write console errors to a log file.
readonly attribute AUTF8String OS
 A string tag identifying the current operating system.
readonly attribute AUTF8String XPCOMABI
 A string tag identifying the binary ABI of the current processor and compiler vtable.

Detailed Description

Provides information about the XUL runtime.

UNSTABLE - This interface is not frozen and will probably change in future releases. If you need this functionality to be stable/frozen, please contact Benjamin Smedberg.

Definition at line 48 of file nsIXULRuntime.idl.


Member Data Documentation

Whether the application was launched in safe mode.

Definition at line 53 of file nsIXULRuntime.idl.

Whether to write console errors to a log file.

If a component encounters startup errors that might prevent the app from showing proper UI, it should set this flag to "true".

Definition at line 60 of file nsIXULRuntime.idl.

readonly attribute AUTF8String nsIXULRuntime::OS

A string tag identifying the current operating system.

This is taken from the OS_TARGET configure variable. It will always be available.

Definition at line 66 of file nsIXULRuntime.idl.

readonly attribute AUTF8String nsIXULRuntime::XPCOMABI

A string tag identifying the binary ABI of the current processor and compiler vtable.

This is taken from the TARGET_XPCOM_ABI configure variable. It may not be available on all platforms, especially unusual processor or compiler combinations.

The result takes the form <processor>-<compilerABI>, for example: x86-msvc ppc-gcc3

This value should almost always be used in combination with "OS".

Exceptions:
NS_ERROR_NOT_AVAILABLEif not available.

Definition at line 82 of file nsIXULRuntime.idl.


The documentation for this interface was generated from the following file: