widget/nsIMacWebAppUtils.idl
author Ed Morley <emorley@mozilla.com>
Sat, 01 Dec 2012 16:58:40 +0000
changeset 124558 e678ae11069377be0f8369fe1a0370ffda5b7b06
parent 104665 4cffe2b37d0c95dde87ec2a96f5bf8d34eb3a670
child 197856 d0012e4d8a9a4cd0dd99bd0afd76541f7fecb870
permissions -rw-r--r--
Bug 813650 - Part 1: Don't print minidump stackwalk output incrementally, so we can implement part 2 without changing log order; r=ted

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

};