|
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 |
|
43 XAresult XARadioItfAdapt_CancelStationSeek(void); |
|
44 |
|
45 XAresult XARadioItfAdapt_SetSquelch(XAboolean squelch); |
|
46 |
|
47 XAresult XARadioItfAdapt_GetSquelch(XAboolean* squelch); |
|
48 |
|
49 XAresult XARadioItfAdapt_SetStereoMode(XAAdaptationMMFCtx *bCtx, XAuint32 mode); |
|
50 |
|
51 XAresult XARadioItfAdapt_GetSignalStrength(XAuint32 * pStrength); |
|
52 |
|
53 XAresult XARadioItfAdapt_Seek(XAAdaptationMMFCtx *bCtx, XAboolean upwards); |
|
54 |
|
55 void XARadioItfAdapt_StopSeeking(XAAdaptationMMFCtx *bCtx); |
|
56 |
|
57 void XARadioItfAdapt_Free(void); |
|
58 |
|
59 void XARadioItfAdapt_SeekComplete(XAAdaptationBaseCtx *ctx, TInt aError, TInt aFrequency); |
|
60 |
|
61 void XARadioItfAdapt_FrequencyChange(XAAdaptationBaseCtx *ctx, TInt aError); |
|
62 |
|
63 void XARadioItfAdapt_FrequencyRangeChange(XAAdaptationBaseCtx *ctx, TInt aFreqRangeChange); |
|
64 |
|
65 void XARadioItfAdapt_SetFrequencyComplete(XAAdaptationBaseCtx *ctx, TInt aError, TInt aFrequency); |
|
66 |
|
67 void XARadioItfAdapt_SetFrequencyRangeComplete(XAAdaptationBaseCtx *ctx, TInt aError); |
|
68 |
|
69 XAresult XARadioItfAdapt_GetStereoMode(XAuint32 * pMode); |
|
70 |
|
71 void XARadioItfAdapt_StereoStatusChange(XAAdaptationBaseCtx *ctx, XAboolean aStereoStatus); |
|
72 |
|
73 void XARadioItfAdapt_SignalStrengthChange(XAAdaptationBaseCtx *ctx, TInt aSignalStrength); |
|
74 |
|
75 #endif /* XARADIOITFADAPTATION_H */ |