1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #include
"nsIPlatformInfo.idl"
8 * A scriptable interface to the nsXULAppAPI structure. See nsXULAppAPI.h for
9 * a detailed description of each attribute.
12 [scriptable
, uuid(ddea4f31
-3c5e
-4769
-ac68
-21ab4b3d7845
)]
13 interface nsIXULAppInfo
: nsIPlatformInfo
16 * @see XREAppData.vendor
17 * @returns an empty string if XREAppData.vendor is not set.
19 readonly attribute ACString vendor
;
22 * @see XREAppData.name
24 readonly attribute ACString name
;
28 * @returns an empty string if XREAppData.ID is not set.
30 readonly attribute ACString
ID;
33 * The version of the XUL application. It is different than the
34 * version of the XULRunner platform. Be careful about which one you want.
36 * @see XREAppData.version
37 * @returns an empty string if XREAppData.version is not set.
39 readonly attribute ACString
version;
42 * The build ID/date of the application. For xulrunner applications,
43 * this will be different than the build ID of the platform. Be careful
44 * about which one you want.
46 readonly attribute ACString appBuildID
;
49 * @see XREAppData.UAName
50 * @returns an empty string if XREAppData.UAName is not set.
52 readonly attribute ACString UAName
;
55 * @see XREAppData.sourceURL
56 * @returns an empty string if XREAppData.sourceURL is not set.
58 readonly attribute ACString sourceURL
;
61 * @see XREAppData.updateURL
63 readonly attribute ACString updateURL
;