diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2017-08-17 15:21:48 -0700 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2017-08-17 20:51:04 -0700 |
commit | c46a56ac144e7399f2172e56a7a22d46d580c830 (patch) | |
tree | 4122472de77d49eb47497e9641b445cea528e29c /binding/radio_impl.h | |
parent | 9aebdfa77d57426fdaaab123d7c91c32a20e87be (diff) |
binding: radio: remove binding from radio applicationeel_4.99.2eel_4.99.1eel/4.99.2eel/4.99.14.99.24.99.1sandbox/kmitsunari/hmi-framework
Spliting out of the radio binding into it's own repo and
service. This removes the binding from the radio application
build.
Change-Id: If62c61e4ad0054b55eee5f0bb46a33bc0677f4b8
Bug-AGL: SPEC-834
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding/radio_impl.h')
-rw-r--r-- | binding/radio_impl.h | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/binding/radio_impl.h b/binding/radio_impl.h deleted file mode 100644 index 79e91a4..0000000 --- a/binding/radio_impl.h +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright (C) 2017 Konsulko Group - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#ifndef _RADIO_IMPL_H -#define _RADIO_IMPL_H - -#include <stdint.h> - -typedef enum { - BAND_AM = 0, - BAND_FM -} radio_band_t; - -typedef enum { - SCAN_FORWARD = 0, - SCAN_BACKWARD -} radio_scan_direction_t; - -typedef void (*radio_scan_callback_t)(uint32_t frequency, void *data); - -typedef void (*radio_freq_callback_t)(uint32_t frequency, void *data); - -typedef enum { - MONO = 0, - STEREO -} radio_stereo_mode_t; - -int radio_impl_init(void); - -uint32_t radio_impl_get_frequency(void); - -void radio_impl_set_frequency(uint32_t frequency); - -void radio_impl_set_frequency_callback(radio_freq_callback_t callback, - void *data); - -radio_band_t radio_impl_get_band(void); - -void radio_impl_set_band(radio_band_t band); - -int radio_impl_band_supported(radio_band_t band); - -uint32_t radio_impl_get_min_frequency(radio_band_t band); - -uint32_t radio_impl_get_max_frequency(radio_band_t band); - -uint32_t radio_impl_get_frequency_step(radio_band_t band); - -void radio_impl_start(void); - -void radio_impl_stop(void); - -void radio_impl_scan_start(radio_scan_direction_t direction, - radio_scan_callback_t callback, - void *data); - -void radio_impl_scan_stop(void); - -radio_stereo_mode_t radio_impl_get_stereo_mode(void); - -void radio_impl_set_stereo_mode(radio_stereo_mode_t mode); - -#endif /* _RADIO_IMPL_H */ |