1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 #ifndef XARADIOITFFADAPTATION_H |
|
18 #define XARADIOITFFADAPTATION_H |
|
19 |
|
20 #include "xaadaptationmmf.h" |
|
21 #include "xadebug.h" |
|
22 |
|
23 /* FUNCTIONS */ |
|
24 |
|
25 XAresult XARadioItfAdapt_SetFreqRange(XAAdaptationMMFCtx *bCtx, XAuint8 range); |
|
26 |
|
27 XAresult XARadioItfAdapt_GetFreqRange(XAuint8 * pFreqRange); |
|
28 |
|
29 XAresult XARadioItfAdapt_IsFreqRangeSupported(XAuint8 range, |
|
30 XAboolean * pSupported); |
|
31 |
|
32 XAresult XARadioItfAdapt_GetFreqRangeProperties(XAAdaptationMMFCtx *bCtx, |
|
33 XAuint8 range, |
|
34 XAuint32 * pMinFreq, |
|
35 XAuint32 * pMaxFreq); |
|
36 |
|
37 XAresult XARadioItfAdapt_SetFrequency(XAAdaptationMMFCtx *bCtx, XAuint32 freq); |
|
38 |
|
39 XAresult XARadioItfAdapt_GetFrequency(XAuint32 * pFrequency); |
|
40 |
|
41 XAresult XARadioItfAdapt_CancelSetFrequency(void); |
|
42 XAresult XARadioItfAdapt_SetSquelch(XAboolean squelch); |
|
43 |
|
44 XAresult XARadioItfAdapt_GetSquelch(XAboolean* squelch); |
|
45 |
|
46 XAresult XARadioItfAdapt_SetStereoMode(XAAdaptationMMFCtx *bCtx, XAuint32 mode); |
|
47 |
|
48 XAresult XARadioItfAdapt_GetSignalStrength(XAuint32 * pStrength); |
|
49 |
|
50 XAresult XARadioItfAdapt_Seek(XAAdaptationMMFCtx *bCtx, XAboolean upwards); |
|
51 |
|
52 void XARadioItfAdapt_StopSeeking(XAAdaptationMMFCtx *bCtx); |
|
53 |
|
54 void XARadioItfAdapt_Free(void); |
|
55 |
|
56 void XARadioItfAdapt_SeekComplete(XAAdaptationBaseCtx *ctx, TInt aError, TInt aFrequency); |
|
57 |
|
58 void XARadioItfAdapt_FrequencyChange(XAAdaptationBaseCtx *ctx, TInt aError); |
|
59 |
|
60 void XARadioItfAdapt_FrequencyRangeChange(XAAdaptationBaseCtx *ctx, TInt aFreqRangeChange); |
|
61 |
|
62 void XARadioItfAdapt_SetFrequencyComplete(XAAdaptationBaseCtx *ctx, TInt aError, TInt aFrequency); |
|
63 |
|
64 void XARadioItfAdapt_SetFrequencyRangeComplete(XAAdaptationBaseCtx *ctx, TInt aError); |
|
65 |
|
66 XAresult XARadioItfAdapt_GetStereoMode(XAuint32 * pMode); |
|
67 |
|
68 void XARadioItfAdapt_StereoStatusChange(XAAdaptationBaseCtx *ctx, XAboolean aStereoStatus); |
|
69 |
|
70 void XARadioItfAdapt_SignalStrengthChange(XAAdaptationBaseCtx *ctx, TInt aSignalStrength); |
|
71 |
|
72 #endif /* XARADIOITFADAPTATION_H */ |
|