2012-05-24 08:02:23 +04:00
|
|
|
/* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */
|
2012-08-21 07:21:24 +04:00
|
|
|
/* vim: set ts=2 et sw=2 tw=80: */
|
2012-05-24 08:02:23 +04:00
|
|
|
/* 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 "nsIDOMEventTarget.idl"
|
|
|
|
|
|
|
|
interface nsIDOMDOMRequest;
|
|
|
|
interface nsIDOMBluetoothAdapter;
|
|
|
|
|
2012-08-30 10:08:50 +04:00
|
|
|
[scriptable, builtinclass, uuid(033d9774-f983-422f-ab6b-06a0b540d6f2)]
|
2012-05-24 08:02:23 +04:00
|
|
|
interface nsIDOMBluetoothManager : nsIDOMEventTarget
|
|
|
|
{
|
|
|
|
readonly attribute bool enabled;
|
|
|
|
|
2012-07-18 07:41:54 +04:00
|
|
|
nsIDOMDOMRequest getDefaultAdapter();
|
2012-08-30 10:08:50 +04:00
|
|
|
|
|
|
|
attribute nsIDOMEventListener onenabled;
|
|
|
|
attribute nsIDOMEventListener ondisabled;
|
2012-05-24 08:02:23 +04:00
|
|
|
};
|