Back to index

lightning-sunbird  0.9+nobinonly
Public Attributes
nsXULAppInfo Class Reference

The nsXULAppInfo object implements nsIFactory so that it can be its own singleton. More...

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

List of all members.

Public Attributes

readonly attribute ACString vendor
readonly attribute ACString name
readonly attribute ACString ID
readonly attribute ACString version
 The version of the XUL application.
readonly attribute ACString appBuildID
 The build ID/date of the application.
readonly attribute ACString platformVersion
 The version of the XULRunner platform.
readonly attribute ACString platformBuildID
 The build ID/date of gecko and the XULRunner platform.
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

The nsXULAppInfo object implements nsIFactory so that it can be its own singleton.

Definition at line 486 of file nsAppRunner.cpp.


Member Data Documentation

readonly attribute ACString nsIXULAppInfo::appBuildID [inherited]

The build ID/date of the application.

For xulrunner applications, this will be different than the build ID of the platform. Be careful about which one you want.

Definition at line 81 of file nsIXULAppInfo.idl.

readonly attribute ACString nsIXULAppInfo::ID [inherited]
See also:
nsXREAppData.ID
Returns:
an empty string if nsXREAppData.ID is not set.

Definition at line 65 of file nsIXULAppInfo.idl.

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 ACString nsIXULAppInfo::name [inherited]
See also:
nsXREAppData.name

Definition at line 59 of file nsIXULAppInfo.idl.

readonly attribute AUTF8String nsIXULRuntime::OS [inherited]

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 ACString nsIXULAppInfo::platformBuildID [inherited]

The build ID/date of gecko and the XULRunner platform.

Definition at line 91 of file nsIXULAppInfo.idl.

readonly attribute ACString nsIXULAppInfo::platformVersion [inherited]

The version of the XULRunner platform.

Definition at line 86 of file nsIXULAppInfo.idl.

readonly attribute ACString nsIXULAppInfo::vendor [inherited]
See also:
nsXREAppData.vendor
Returns:
an empty string if nsXREAppData.vendor is not set.

Definition at line 54 of file nsIXULAppInfo.idl.

readonly attribute ACString nsIXULAppInfo::version [inherited]

The version of the XUL application.

It is different than the version of the XULRunner platform. Be careful about which one you want.

See also:
nsXREAppData.version
Returns:
an empty string if nsXREAppData.version is not set.

Definition at line 74 of file nsIXULAppInfo.idl.

readonly attribute AUTF8String nsIXULRuntime::XPCOMABI [inherited]

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 class was generated from the following file: