widget/nsIMacWebAppUtils.idl
author ffxbld
Tue, 20 May 2014 14:32:18 -0400
branchGECKO300b6_2014052014_RELBRANCH
changeset 192336 cf8611fd90355ca1694075e342978e26a7c106ed
parent 104180 4cffe2b37d0c95dde87ec2a96f5bf8d34eb3a670
child 196790 d0012e4d8a9a4cd0dd99bd0afd76541f7fecb870
permissions -rw-r--r--
Added FIREFOX_30_0b6_RELEASE FIREFOX_30_0b6_BUILD2 tag(s) for changeset 6737035e7d77. DONTBUILD 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 "nsISupports.idl"

interface nsIMacWebAppUtils;

/**
 * Allow MozApps API to locate and manipulate natively installed apps
 */

[scriptable, uuid(e9096367-ddd9-45e4-b762-49c0c18b7119)]
interface nsIMacWebAppUtils : nsISupports {
  /**
   * Find the path for an app with the given signature.
   */
  AString pathForAppWithIdentifier(in AString bundleIdentifier);

  /**
   * Launch the app with the given identifier, if it exists.
   */
  void launchAppWithIdentifier(in AString bundleIdentifier);

};