Wed, 31 Dec 2014 06:55:50 +0100
Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2
michael@0 | 1 | /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |
michael@0 | 2 | /* vim: set sw=2 ts=8 et ft=cpp : */ |
michael@0 | 3 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | * License, v. 2.0. If a copy of the MPL was not distributed with this file, |
michael@0 | 5 | * You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 6 | |
michael@0 | 7 | #include "Hal.h" |
michael@0 | 8 | |
michael@0 | 9 | namespace mozilla { |
michael@0 | 10 | namespace hal_impl { |
michael@0 | 11 | |
michael@0 | 12 | void |
michael@0 | 13 | EnableFMRadio(const hal::FMRadioSettings& aInfo) |
michael@0 | 14 | {} |
michael@0 | 15 | |
michael@0 | 16 | void |
michael@0 | 17 | DisableFMRadio() |
michael@0 | 18 | {} |
michael@0 | 19 | |
michael@0 | 20 | void |
michael@0 | 21 | FMRadioSeek(const hal::FMRadioSeekDirection& aDirection) |
michael@0 | 22 | {} |
michael@0 | 23 | |
michael@0 | 24 | void |
michael@0 | 25 | GetFMRadioSettings(hal::FMRadioSettings* aInfo) |
michael@0 | 26 | { |
michael@0 | 27 | aInfo->country() = hal::FM_RADIO_COUNTRY_UNKNOWN; |
michael@0 | 28 | aInfo->upperLimit() = 0; |
michael@0 | 29 | aInfo->lowerLimit() = 0; |
michael@0 | 30 | aInfo->spaceType() = 0; |
michael@0 | 31 | aInfo->preEmphasis() = 0; |
michael@0 | 32 | } |
michael@0 | 33 | |
michael@0 | 34 | void |
michael@0 | 35 | SetFMRadioFrequency(const uint32_t frequency) |
michael@0 | 36 | {} |
michael@0 | 37 | |
michael@0 | 38 | uint32_t |
michael@0 | 39 | GetFMRadioFrequency() |
michael@0 | 40 | { |
michael@0 | 41 | return 0; |
michael@0 | 42 | } |
michael@0 | 43 | |
michael@0 | 44 | bool |
michael@0 | 45 | IsFMRadioOn() |
michael@0 | 46 | { |
michael@0 | 47 | return false; |
michael@0 | 48 | } |
michael@0 | 49 | |
michael@0 | 50 | uint32_t |
michael@0 | 51 | GetFMRadioSignalStrength() |
michael@0 | 52 | { |
michael@0 | 53 | return 0; |
michael@0 | 54 | } |
michael@0 | 55 | |
michael@0 | 56 | void |
michael@0 | 57 | CancelFMRadioSeek() |
michael@0 | 58 | {} |
michael@0 | 59 | |
michael@0 | 60 | } // hal_impl |
michael@0 | 61 | } // namespace mozilla |