widget/nsIMacWebAppUtils.idl
author Gijs Kruitbosch <gijskruitbosch@gmail.com>
Thu, 28 Nov 2013 12:12:09 +0100
changeset 172682 59df4f1c7281e31ed24379bf6e0334df2b088905
parent 104180 4cffe2b37d0c95dde87ec2a96f5bf8d34eb3a670
child 196790 d0012e4d8a9a4cd0dd99bd0afd76541f7fecb870
permissions -rw-r--r--
Bug 942803 - remove bogus keycode from devtoolboxmenuitem, r=mikeratcliffe

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

};