hal/fallback/FallbackSwitch.cpp
author Sebastian Hengst <archaeopteryx@coole-files.de>
Mon, 31 Oct 2016 19:59:07 +0100
changeset 320276 1aa20bcbb80e1014e4d01057f7d52269b0c2d908
parent 191868 bd0703d4cd88067e4cf300932b4e25a013ab6667
permissions -rw-r--r--
Merge m-c to fx-team. r=merge a=merge

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* 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 "mozilla/Hal.h"

using namespace mozilla::hal;

namespace mozilla {
namespace hal_impl {

void
EnableSwitchNotifications(SwitchDevice aDevice)
{
}

void
DisableSwitchNotifications(SwitchDevice aDevice)
{
}

SwitchState
GetCurrentSwitchState(SwitchDevice aDevice) {
  return SWITCH_STATE_UNKNOWN;
}

void
NotifySwitchStateFromInputDevice(SwitchDevice aDevice, SwitchState aState)
{
}

bool IsHeadphoneEventFromInputDev()
{
  return false;
}

} // namespace hal_impl
} // namespace mozilla