gecko-dev/widget/nsIMacSharingService.idl
Dale Harvey 5aeada7d94 Bug 1363168 - Add support for OSX Share feature. r=Gijs,mstange
MozReview-Commit-ID: sJXl2If9Ou

--HG--
extra : rebase_source : b88ff89e1d28bab28c3575c2f7f30c91bd584aea
2018-03-12 09:16:51 +00:00

24 lines
664 B
Plaintext

/* 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"
/**
* Allow applications to interface with the Mac OS X Sharing APIs.
*/
[scriptable, uuid(de59fe1a-46c8-490f-b04d-34545acb06c9)]
interface nsIMacSharingService : nsISupports
{
/**
* Get list of sharing providers
*/
[implicit_jscontext] jsval getSharingProviders(in AString urlToShare);
/**
* Launch service with shareTitle with given url
*/
void shareUrl(in AString shareTitle, in AString urlToShare);
};