khronosfws/openmax_al/src/adaptation/xardsitfadaptation.h
changeset 33 5e8b14bae8c3
parent 28 ebf79c79991a
child 36 73253677b50a
equal deleted inserted replaced
28:ebf79c79991a 33:5e8b14bae8c3
     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 
       
    18 #ifndef XARDSITFFADAPTATION_H
       
    19 #define XARDSOITFFADAPTATION_H
       
    20 
       
    21 #include "XAAdaptationContextBase.h"
       
    22 #include "XADebug.h"
       
    23 
       
    24 /* MACROS */
       
    25 
       
    26 /* FUNCTIONS */
       
    27 
       
    28 XAresult XARDSItfAdapt_QueryRDSSignal(XAAdaptationBaseCtx *bCtx, XAboolean * isSignal);
       
    29 
       
    30 XAresult XARDSItfAdapt_GetProgrammeServiceName(XAAdaptationBaseCtx *bCtx, XAchar * ps);
       
    31 
       
    32 XAresult XARDSItfAdapt_GetRadioText(XAAdaptationBaseCtx *bCtx, XAchar * rt);
       
    33 
       
    34 XAresult XARDSItfAdapt_GetRadioTextPlus(XAAdaptationBaseCtx *bCtx,
       
    35                                        XAuint8 contentType,
       
    36                                        XAchar * informationElement,
       
    37                                        XAchar * descriptor,
       
    38                                        XAuint8 * descriptorContentType);
       
    39 
       
    40 XAresult XARDSItfAdapt_GetProgrammeType(XAAdaptationBaseCtx *bCtx, XAuint32 * pty);
       
    41 
       
    42 XAresult XARDSItfAdapt_GetProgrammeTypeString(XAAdaptationBaseCtx *bCtx,
       
    43                                              XAboolean isLengthMax16,
       
    44                                              XAchar * pty);
       
    45 
       
    46 XAresult XARDSItfAdapt_GetProgrammeIdentificationCode(XAAdaptationBaseCtx *bCtx, XAint16 * pi);
       
    47 
       
    48 XAresult XARDSItfAdapt_GetClockTime(XAAdaptationBaseCtx *bCtx, XAtime * dateAndTime);
       
    49 
       
    50 XAresult XARDSItfAdapt_GetTrafficAnnouncement(XAAdaptationBaseCtx *bCtx, XAboolean * ta);
       
    51 
       
    52 XAresult XARDSItfAdapt_GetTrafficProgramme(XAAdaptationBaseCtx *bCtx, XAboolean * tp);
       
    53 
       
    54 XAresult XARDSItfAdapt_SeekByProgrammeType(XAAdaptationBaseCtx *bCtx,
       
    55                                           XAuint32 pty,
       
    56                                           XAboolean upwards);
       
    57 
       
    58 XAresult XARDSItfAdapt_SeekTrafficAnnouncement(XAAdaptationBaseCtx *bCtx, XAboolean upwards);
       
    59 
       
    60 XAresult XARDSItfAdapt_SeekTrafficProgramme(XAAdaptationBaseCtx *bCtx, XAboolean upwards);
       
    61 
       
    62 XAresult XARDSItfAdapt_SetAutomaticSwitching(XAAdaptationBaseCtx *bCtx, XAboolean automatic);
       
    63 
       
    64 XAresult XARDSItfAdapt_GetAutomaticSwitching(XAAdaptationBaseCtx *bCtx, XAboolean * automatic);
       
    65 
       
    66 XAresult XARDSItfAdapt_SetAutomaticTrafficAnnouncement(XAAdaptationBaseCtx *bCtx, XAboolean automatic);
       
    67 
       
    68 XAresult XARDSItfAdapt_GetAutomaticTrafficAnnouncement(XAAdaptationBaseCtx *bCtx, XAboolean * automatic);
       
    69 
       
    70 XAresult XARDSItfAdapt_GetODAGroup(XAAdaptationBaseCtx *bCtx, XAint16 AID);
       
    71 
       
    72 XAresult XARDSItfAdapt_SubscribeODAGroup(XAAdaptationBaseCtx *bCtx,
       
    73                                         XAint16 group,
       
    74                                         XAboolean useErrorCorrection);
       
    75 
       
    76 XAresult XARDSItfAdapt_UnsubscribeODAGroup(XAAdaptationBaseCtx *bCtx, XAint16 group);
       
    77 
       
    78 XAresult XARDSItfAdapt_ListODAGroupSubscriptions(XAAdaptationBaseCtx *bCtx,
       
    79                                                 XAint16* pGroups,
       
    80                                                 XAuint32* pLength);
       
    81 
       
    82 void XARDSItfAdapt_Free(XAAdaptationBaseCtx *bCtx);
       
    83 
       
    84 #endif /* XARDSITFADAPTATION_H */