xpcom/base/nsIMacUtils.idl
author Gurzau Raul <rgurzau@mozilla.com>
Tue, 17 Sep 2019 08:40:27 +0300
changeset 493481 04da00a61c6df437250e3af0d20f8ec72bbe9f48
parent 421481 408b89d1bf5d3d3ce955f54c3b641e235c044648
permissions -rw-r--r--
Backed out 2 changesets (bug 1573245) for Windows build bustages at WebAuthnManager.cpp on a CLOSED TREE. Backed out changeset 0bf953d07a4f (bug 1573245) Backed out changeset cfdf258c11ae (bug 1573245)

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include "nsISupports.idl"

/**
 * nsIMacUtils: Generic globally-available Mac-specific utilities.
 */

[scriptable, uuid(5E9072D7-FF95-455E-9466-8AF9841A72EC)]
interface nsIMacUtils : nsISupports
{
  /**
   * Returns a string containing a list of architectures delimited
   * by "-". Architecture sets are always in the same order:
   * ppc > i386 > ppc64 > x86_64 > (future additions)
   */
  readonly attribute AString architecturesInBinary;

  /**
   * True when running under binary translation (Rosetta).
   */
  readonly attribute boolean isTranslated;
};