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
"nsISupports.idl"
8 [scriptable
, uuid(09a0502b
-cedc
-4cae
-bf7c
-35662dbd1249
)]
9 interface nsISystemInfo
: nsISupports
12 * Asynchronously get info about what types of disks we're using for the
14 * Note: only implemented on Windows, will return null elsewhere.
17 readonly attribute Promise diskInfo
;
20 * Asynchronously get CountryCode info.
21 * Note: only implemented on macOS and Windows, will return null elsewhere.
24 readonly attribute Promise countryCode
;