xpcom/system/nsIXULAppInfo.idl

branch
TOR_BUG_9701
changeset 8
97036ab72558
equal deleted inserted replaced
-1:000000000000 0:bfcb19a6d921
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/. */
4
5 #include "nsISupports.idl"
6
7 /**
8 * A scriptable interface to the nsXULAppAPI structure. See nsXULAppAPI.h for
9 * a detailed description of each attribute.
10 */
11
12 [scriptable, uuid(1518e7d2-022a-4dae-b02e-bbe7ffcf2145)]
13 interface nsIXULAppInfo : nsISupports
14 {
15 /**
16 * @see nsXREAppData.vendor
17 * @returns an empty string if nsXREAppData.vendor is not set.
18 */
19 readonly attribute ACString vendor;
20
21 /**
22 * @see nsXREAppData.name
23 */
24 readonly attribute ACString name;
25
26 /**
27 * @see nsXREAppData.ID
28 * @returns an empty string if nsXREAppData.ID is not set.
29 */
30 readonly attribute ACString ID;
31
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.
35 *
36 * @see nsXREAppData.version
37 * @returns an empty string if nsXREAppData.version is not set.
38 */
39 readonly attribute ACString version;
40
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.
45 */
46 readonly attribute ACString appBuildID;
47
48 /**
49 * The version of the XULRunner platform.
50 */
51 readonly attribute ACString platformVersion;
52
53 /**
54 * The build ID/date of gecko and the XULRunner platform.
55 */
56 readonly attribute ACString platformBuildID;
57
58 /**
59 * @see nsXREAppData.UAName
60 * @returns an empty string if nsXREAppData.UAName is not set.
61 */
62 readonly attribute ACString UAName;
63 };

mercurial