michael@0: /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* vim: set sw=2 ts=8 et ft=cpp : */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this file, michael@0: * You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "Hal.h" michael@0: michael@0: namespace mozilla { michael@0: namespace hal_impl { michael@0: michael@0: void michael@0: EnableFMRadio(const hal::FMRadioSettings& aInfo) michael@0: {} michael@0: michael@0: void michael@0: DisableFMRadio() michael@0: {} michael@0: michael@0: void michael@0: FMRadioSeek(const hal::FMRadioSeekDirection& aDirection) michael@0: {} michael@0: michael@0: void michael@0: GetFMRadioSettings(hal::FMRadioSettings* aInfo) michael@0: { michael@0: aInfo->country() = hal::FM_RADIO_COUNTRY_UNKNOWN; michael@0: aInfo->upperLimit() = 0; michael@0: aInfo->lowerLimit() = 0; michael@0: aInfo->spaceType() = 0; michael@0: aInfo->preEmphasis() = 0; michael@0: } michael@0: michael@0: void michael@0: SetFMRadioFrequency(const uint32_t frequency) michael@0: {} michael@0: michael@0: uint32_t michael@0: GetFMRadioFrequency() michael@0: { michael@0: return 0; michael@0: } michael@0: michael@0: bool michael@0: IsFMRadioOn() michael@0: { michael@0: return false; michael@0: } michael@0: michael@0: uint32_t michael@0: GetFMRadioSignalStrength() michael@0: { michael@0: return 0; michael@0: } michael@0: michael@0: void michael@0: CancelFMRadioSeek() michael@0: {} michael@0: michael@0: } // hal_impl michael@0: } // namespace mozilla