Merge m-c to fx-team.
[gecko.git] / widget / nsIMacWebAppUtils.idl
blob12a42ea17c10c8f0cac047d1322f114c994411da
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #include "nsISupports.idl"
7 interface nsIMacWebAppUtils;
9 /**
10 * Allow MozApps API to locate and manipulate natively installed apps
13 [scriptable, uuid(e9096367-ddd9-45e4-b762-49c0c18b7119)]
14 interface nsIMacWebAppUtils : nsISupports {
15 /**
16 * Find the path for an app with the given signature.
18 AString pathForAppWithIdentifier(in AString bundleIdentifier);
20 /**
21 * Launch the app with the given identifier, if it exists.
23 void launchAppWithIdentifier(in AString bundleIdentifier);