dom/alarm/nsIDOMAlarmsManager.idl
author Jocelyn Liu <joliu@mozilla.com>
Wed, 21 May 2014 14:11:31 +0800
changeset 204456 7e5b760b4fdfbfa3ec7f51e9f521dd5c99e19093
parent 103462 07425f0e921ec0f55739e5039a1b0abb1844f957
permissions -rw-r--r--
Bug 1009347 - Patch 1/4: Make copy of dom/bluetooth for API refinement, f=btian, r=echou

/* 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 "domstubs.idl"

interface nsIDOMDOMRequest;

[scriptable, uuid(fea1e884-9b05-11e1-9b64-87a7016c3860)]
interface nsIDOMMozAlarmsManager : nsISupports
{
  nsIDOMDOMRequest getAll();
  nsIDOMDOMRequest add(in jsval date, in DOMString respectTimezone, [optional] in jsval data);
  void remove(in unsigned long id);
};