mail/steel/steelIApplication.idl
author Frank Wein <mcsmurf@mcsmurf.de>
Tue, 20 Aug 2013 11:15:15 +0200
changeset 16412 ad38da279eabc308b7eadae722573033b68bc389
parent 14437 5e40b999b002fc8205efe7b0ad4ce72a2afcae12
child 16866 752e81dfb822ef5f2707d1ccc834bd9476a19db9
permissions -rw-r--r--
Backout changeset e6f324a5b474 from Bug 904485, patch did not fix SeaMonkey Linux builds CLOSED TREE

/* 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(d8e187c3-6303-474e-a690-c2eef3331f20)]
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;
};