Bumping manifests a=b2g-bump
[gecko.git] / dom / interfaces / settings / nsISettingsService.idl
bloba32fcd3842a359b8d91b118bc0b74759565cb523
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 file,
3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #include "domstubs.idl"
7 [scriptable, uuid(aad47850-2e87-11e2-81c1-0800200c9a66)]
8 interface nsISettingsServiceCallback : nsISupports
10 void handle(in DOMString aName, in jsval aResult);
11 void handleError(in DOMString aErrorMessage);
14 [scriptable, uuid(f1b3d820-8e75-11e3-baa8-0800200c9a66)]
15 interface nsISettingsTransactionCompleteCallback : nsISupports
17 void handle();
18 void handleAbort(in DOMString aErrorMessage);
21 [scriptable, uuid(d7a395a0-e292-11e1-834e-1761d57f5f99)]
22 interface nsISettingsServiceLock : nsISupports
24 void set(in string aName,
25 in jsval aValue,
26 in nsISettingsServiceCallback aCallback,
27 [optional] in string aMessage);
29 void get(in string aName, in nsISettingsServiceCallback aCallback);
32 [scriptable, uuid(0505acf0-8e76-11e3-baa8-0800200c9a66)]
33 interface nsISettingsService : nsISupports
35 nsISettingsServiceLock createLock([optional] in nsISettingsTransactionCompleteCallback aCallback);