author Kyle Machulis <>
Sun, 30 Sep 2012 23:17:21 -0700
changeset 115020 fac034d8c69aa77e4a4e8df61acbd143d2027e9a
parent 115013 826ef2970e19fe08b1587f2f1ffbb43cbe90ae2a
child 115032 307b15d6a63f369793f48c3c4ef9a53c221c0360
permissions -rw-r--r--
Backing out 826ef2970e19 (Bug 790739) due to bustage

/* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */
/* vim: set ts=2 et sw=2 tw=80: */
/* 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 */

#ifndef mozilla_dom_bluetooth_BluetoothUnixSocketConnector_h
#define mozilla_dom_bluetooth_BluetoothUnixSocketConnector_h

#include "BluetoothCommon.h"
#include <mozilla/ipc/UnixSocket.h>


class BluetoothUnixSocketConnector : public mozilla::ipc::UnixSocketConnector
  BluetoothUnixSocketConnector(BluetoothSocketType aType, int aChannel,
                               bool aAuth, bool aEncrypt);
  virtual ~BluetoothUnixSocketConnector()
  virtual int Create() MOZ_OVERRIDE;
  virtual bool ConnectInternal(int aFd, const char* aAddress) MOZ_OVERRIDE;

  BluetoothSocketType mType;
  int mChannel;
  bool mAuth;
  bool mEncrypt;