mail/steel/steelIApplication.idl
author Florian Quèze <florian@queze.net>
Wed, 27 Nov 2013 11:38:25 +0100
changeset 16938 39f6af451ff3eefd79449410e8f757dd3ab6a456
parent 16866 752e81dfb822ef5f2707d1ccc834bd9476a19db9
permissions -rw-r--r--
Bug 885740 - Account central 2x icons for mac layout - move the chat32.png file to mail/themes/osx/, r=mconley.

/* 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;
};