1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/alarm/nsIDOMAlarmsManager.idl Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,15 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this file, 1.6 + * You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +#include "domstubs.idl" 1.9 + 1.10 +interface nsIDOMDOMRequest; 1.11 + 1.12 +[scriptable, uuid(fea1e884-9b05-11e1-9b64-87a7016c3860)] 1.13 +interface nsIDOMMozAlarmsManager : nsISupports 1.14 +{ 1.15 + nsIDOMDOMRequest getAll(); 1.16 + nsIDOMDOMRequest add(in jsval date, in DOMString respectTimezone, [optional] in jsval data); 1.17 + void remove(in unsigned long id); 1.18 +};