no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
[gecko.git] / xpcom / system / nsIXULAppInfo.idl
blob502052eb79e63e25eb651000466f8a2a4691dcc8
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"
7 /**
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
15 /**
16 * @see XREAppData.vendor
17 * @returns an empty string if XREAppData.vendor is not set.
19 readonly attribute ACString vendor;
21 /**
22 * @see XREAppData.name
24 readonly attribute ACString name;
26 /**
27 * @see XREAppData.ID
28 * @returns an empty string if XREAppData.ID is not set.
30 readonly attribute ACString ID;
32 /**
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;
41 /**
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;
48 /**
49 * @see XREAppData.UAName
50 * @returns an empty string if XREAppData.UAName is not set.
52 readonly attribute ACString UAName;
54 /**
55 * @see XREAppData.sourceURL
56 * @returns an empty string if XREAppData.sourceURL is not set.
58 readonly attribute ACString sourceURL;
60 /**
61 * @see XREAppData.updateURL
63 readonly attribute ACString updateURL;