@mozilla.org/xre/app-info;1

This component implements the following interfaces:

Properties

readonly ACString nsIXULAppInfo.appBuildID

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.

readonly ACString nsIXULAppInfo.ID

readonly PRBool nsIXULRuntime.inSafeMode

Whether the application was launched in safe mode.

PRBool nsIXULRuntime.logConsoleErrors

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".

readonly ACString nsIXULAppInfo.name

readonly 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.

readonly ACString nsIXULAppInfo.platformBuildID

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

readonly ACString nsIXULAppInfo.platformVersion

The version of the XULRunner platform.

readonly ACString nsIXULAppInfo.vendor

readonly ACString nsIXULAppInfo.version

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

readonly 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 -, for example: x86-msvc ppc-gcc3

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

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com