mail/steel/steelIApplication.idl
author seabld
Thu, 06 Jul 2017 21:40:25 -0700
branchSEA_COMM510_20170330_RELBRANCH
changeset 31420 61d00d43164111c8adfc9fba1edd274a7e235993
parent 16866 752e81dfb822ef5f2707d1ccc834bd9476a19db9
permissions -rw-r--r--
Added tag SEAMONKEY_2_48_RELEASE for changeset 00de3083c5db. CLOSED TREE a=release

/* 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 "extIApplication.idl"

/**
 * The core STEEL object, available in the global scope
 */
[scriptable, uuid(e33b45c3-9b44-45f2-8aa3-c89805695f2b)]
interface steelIApplication : extIApplication {
  /**
   * Returns true if the application is running on a Mac OS X. This is intended
   * for situations where Mac does things differently, e.g. The application
   * doesn't support print preview on Mac because Mac provides a preview option
   * in the print dialog.
   */
  readonly attribute boolean platformIsMac;

  /**
   * Returns true if the application is running on GNU/Linux or on UNIX.
   */
  readonly attribute boolean platformIsLinux;

  /**
   * Returns true if the application is running on Windows.
   */
  readonly attribute boolean platformIsWindows;
};