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"
8 * Allow applications to interface with the Mac OS X Sharing APIs.
11 [scriptable
, uuid(de59fe1a
-46c8
-490f
-b04d
-34545acb06c9
)]
12 interface nsIMacSharingService
: nsISupports
15 * Get list of sharing providers
17 [implicit_jscontext
] jsval getSharingProviders
(in AString pageUrl
);
20 * Launch service with shareTitle with given url
22 void shareUrl
(in AString serviceName
,
24 in AString pageTitle
);
27 * Open the MacOS preferences window to the sharing panel
29 void openSharingPreferences
();