mmserv/radioutility/radio_utility/src/RadioRdsUtility.cpp
branchRCL_3
changeset 20 0ac9a5310753
parent 19 095bea5f582e
equal deleted inserted replaced
19:095bea5f582e 20:0ac9a5310753
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 
    18 
    19 #include "RadioRdsUtilityBody.h"
    19 #include "RadioRdsUtilityBody.h"
    20 #include "trace.h"
       
    21 
    20 
    22 // -----------------------------------------------------------------------------
    21 // -----------------------------------------------------------------------------
    23 // CRadioRdsUtility::NewL
    22 // CRadioRdsUtility::NewL
    24 // (other items were commented in a header).
    23 // (other items were commented in a header).
    25 // -----------------------------------------------------------------------------
    24 // -----------------------------------------------------------------------------
    26 //
    25 //
    27 CRadioRdsUtility* CRadioRdsUtility::NewL(
    26 CRadioRdsUtility* CRadioRdsUtility::NewL(
    28     RRadioSession& aRadioSession,
    27     RRadioSession& aRadioSession,
    29     MRadioRdsObserver& aObserver)
    28     MRadioRdsObserver& aObserver)
    30     {
    29     {
    31     FUNC_LOG;
       
    32     CRadioRdsUtility* self = new(ELeave) CRadioRdsUtility;
    30     CRadioRdsUtility* self = new(ELeave) CRadioRdsUtility;
    33     CleanupStack::PushL(self);
    31     CleanupStack::PushL(self);
    34     self->iBody = CRadioRdsUtility::CBody::NewL(aRadioSession, aObserver);
    32     self->iBody = CRadioRdsUtility::CBody::NewL(aRadioSession, aObserver);
    35     CleanupStack::Pop();
    33     CleanupStack::Pop();
    36     return self;
    34     return self;
    41 // (other items were commented in a header).
    39 // (other items were commented in a header).
    42 // -----------------------------------------------------------------------------
    40 // -----------------------------------------------------------------------------
    43 //
    41 //
    44 CRadioRdsUtility::~CRadioRdsUtility()
    42 CRadioRdsUtility::~CRadioRdsUtility()
    45     {
    43     {
    46     FUNC_LOG;
    44         delete iBody;
    47     delete iBody;
       
    48     }
    45     }
    49 
    46 
    50 // -----------------------------------------------------------------------------
    47 // -----------------------------------------------------------------------------
    51 // CRadioRdsUtility::CRadioRdsUtility
    48 // CRadioRdsUtility::CRadioRdsUtility
    52 // (other items were commented in a header).
    49 // (other items were commented in a header).
    53 // -----------------------------------------------------------------------------
    50 // -----------------------------------------------------------------------------
    54 //
    51 //
    55 CRadioRdsUtility::CRadioRdsUtility()
    52 CRadioRdsUtility::CRadioRdsUtility()
    56     {
    53     {
    57     FUNC_LOG;
       
    58     }
    54     }
    59 
    55 
    60 // -----------------------------------------------------------------------------
    56 // -----------------------------------------------------------------------------
    61 // CRadioRdsUtility::Close
    57 // CRadioRdsUtility::Close
    62 // (other items were commented in a header).
    58 // (other items were commented in a header).
    63 // -----------------------------------------------------------------------------
    59 // -----------------------------------------------------------------------------
    64 EXPORT_C void CRadioRdsUtility::Close()
    60 EXPORT_C void CRadioRdsUtility::Close()
    65     {
    61     {
    66     FUNC_LOG;
       
    67     ASSERT(iBody);
    62     ASSERT(iBody);
    68     return iBody->Close();
    63     return iBody->Close();
    69     }
    64     }
    70 
    65 
    71 // -----------------------------------------------------------------------------
    66 // -----------------------------------------------------------------------------
    73 // (other items were commented in a header).
    68 // (other items were commented in a header).
    74 // -----------------------------------------------------------------------------
    69 // -----------------------------------------------------------------------------
    75 EXPORT_C TInt CRadioRdsUtility::GetCapabilities(
    70 EXPORT_C TInt CRadioRdsUtility::GetCapabilities(
    76     TRdsCapabilities& aCaps ) const
    71     TRdsCapabilities& aCaps ) const
    77     {
    72     {
    78     FUNC_LOG;
       
    79     ASSERT(iBody);
    73     ASSERT(iBody);
    80     return iBody->GetCapabilities(aCaps);
    74     return iBody->GetCapabilities(aCaps);
    81     }
    75     }
    82 
    76 
    83 // -----------------------------------------------------------------------------
    77 // -----------------------------------------------------------------------------
    85 // (other items were commented in a header).
    79 // (other items were commented in a header).
    86 // -----------------------------------------------------------------------------
    80 // -----------------------------------------------------------------------------
    87 EXPORT_C TInt CRadioRdsUtility::GetRdsSignalStatus(
    81 EXPORT_C TInt CRadioRdsUtility::GetRdsSignalStatus(
    88     TBool& aRdsSignal ) const
    82     TBool& aRdsSignal ) const
    89     {
    83     {
    90     FUNC_LOG;
       
    91     ASSERT(iBody);
    84     ASSERT(iBody);
    92     return iBody->GetRdsSignalStatus( aRdsSignal );
    85     return iBody->GetRdsSignalStatus( aRdsSignal );
    93     }
    86     }
    94 
    87 
    95 // -----------------------------------------------------------------------------
    88 // -----------------------------------------------------------------------------
    97 // (other items were commented in a header).
    90 // (other items were commented in a header).
    98 // -----------------------------------------------------------------------------
    91 // -----------------------------------------------------------------------------
    99 EXPORT_C TInt CRadioRdsUtility::NotifyRdsDataChange(
    92 EXPORT_C TInt CRadioRdsUtility::NotifyRdsDataChange(
   100     TRdsData aRdsData )
    93     TRdsData aRdsData )
   101     {
    94     {
   102     FUNC_LOG;
       
   103     ASSERT(iBody);
    95     ASSERT(iBody);
   104     return iBody->NotifyRdsDataChange( aRdsData );
    96     return iBody->NotifyRdsDataChange( aRdsData );
   105     }
    97     }
   106 
    98 
   107 // -----------------------------------------------------------------------------
    99 // -----------------------------------------------------------------------------
   108 // CRadioRdsUtility::CancelNotifyRdsDataChange
   100 // CRadioRdsUtility::CancelNotifyRdsDataChange
   109 // (other items were commented in a header).
   101 // (other items were commented in a header).
   110 // -----------------------------------------------------------------------------
   102 // -----------------------------------------------------------------------------
   111 EXPORT_C void CRadioRdsUtility::CancelNotifyRdsDataChange()
   103 EXPORT_C void CRadioRdsUtility::CancelNotifyRdsDataChange()
   112     {
   104     {
   113     FUNC_LOG;
       
   114     ASSERT(iBody);
   105     ASSERT(iBody);
   115     iBody->CancelNotifyRdsDataChange();
   106     iBody->CancelNotifyRdsDataChange();
   116     }
   107     }
   117 
   108 
   118 // -----------------------------------------------------------------------------
   109 // -----------------------------------------------------------------------------
   120 // (other items were commented in a header).
   111 // (other items were commented in a header).
   121 // -----------------------------------------------------------------------------
   112 // -----------------------------------------------------------------------------
   122 EXPORT_C TInt CRadioRdsUtility::SetAutomaticSwitching(
   113 EXPORT_C TInt CRadioRdsUtility::SetAutomaticSwitching(
   123     TBool aAuto )
   114     TBool aAuto )
   124     {
   115     {
   125     FUNC_LOG;
       
   126     ASSERT(iBody);
   116     ASSERT(iBody);
   127     return iBody->SetAutomaticSwitching(aAuto);
   117     return iBody->SetAutomaticSwitching(aAuto);
   128     }
   118     }
   129 
   119 
   130 // -----------------------------------------------------------------------------
   120 // -----------------------------------------------------------------------------
   132 // (other items were commented in a header).
   122 // (other items were commented in a header).
   133 // -----------------------------------------------------------------------------
   123 // -----------------------------------------------------------------------------
   134 EXPORT_C TInt CRadioRdsUtility::GetAutomaticSwitching(
   124 EXPORT_C TInt CRadioRdsUtility::GetAutomaticSwitching(
   135     TBool& aAuto )
   125     TBool& aAuto )
   136     {
   126     {
   137     FUNC_LOG;
       
   138     ASSERT(iBody);
   127     ASSERT(iBody);
   139     return iBody->GetAutomaticSwitching(aAuto);
   128     return iBody->GetAutomaticSwitching(aAuto);
   140     }
   129     }
   141 
   130 
   142 // -----------------------------------------------------------------------------
   131 // -----------------------------------------------------------------------------
   143 // CRadioRdsUtility::CancelAFSearch
   132 // CRadioRdsUtility::CancelAFSearch
   144 // (other items were commented in a header).
   133 // (other items were commented in a header).
   145 // -----------------------------------------------------------------------------
   134 // -----------------------------------------------------------------------------
   146 EXPORT_C void CRadioRdsUtility::CancelAFSearch()
   135 EXPORT_C void CRadioRdsUtility::CancelAFSearch()
   147     {
   136     {
   148     FUNC_LOG;
       
   149     ASSERT(iBody);
   137     ASSERT(iBody);
   150     iBody->CancelAFSearch();
   138     iBody->CancelAFSearch();
   151     }
   139     }
   152 
   140 
   153 // -----------------------------------------------------------------------------
   141 // -----------------------------------------------------------------------------
   155 // (other items were commented in a header).
   143 // (other items were commented in a header).
   156 // -----------------------------------------------------------------------------
   144 // -----------------------------------------------------------------------------
   157 EXPORT_C TInt CRadioRdsUtility::SetAutomaticTrafficAnnouncement(
   145 EXPORT_C TInt CRadioRdsUtility::SetAutomaticTrafficAnnouncement(
   158     TBool aAuto )
   146     TBool aAuto )
   159     {
   147     {
   160     FUNC_LOG;
       
   161     ASSERT(iBody);
   148     ASSERT(iBody);
   162     return iBody->SetAutomaticTrafficAnnouncement(aAuto);
   149     return iBody->SetAutomaticTrafficAnnouncement(aAuto);
   163     }
   150     }
   164 
   151 
   165 // -----------------------------------------------------------------------------
   152 // -----------------------------------------------------------------------------
   167 // (other items were commented in a header).
   154 // (other items were commented in a header).
   168 // -----------------------------------------------------------------------------
   155 // -----------------------------------------------------------------------------
   169 EXPORT_C TInt CRadioRdsUtility::GetAutomaticTrafficAnnouncement(
   156 EXPORT_C TInt CRadioRdsUtility::GetAutomaticTrafficAnnouncement(
   170     TBool& aAuto )
   157     TBool& aAuto )
   171     {
   158     {
   172     FUNC_LOG;
       
   173     ASSERT(iBody);
   159     ASSERT(iBody);
   174     return iBody->GetAutomaticTrafficAnnouncement(aAuto);
   160     return iBody->GetAutomaticTrafficAnnouncement(aAuto);
   175     }
   161     }
   176 
   162 
   177 // -----------------------------------------------------------------------------
   163 // -----------------------------------------------------------------------------
   180 // -----------------------------------------------------------------------------
   166 // -----------------------------------------------------------------------------
   181 EXPORT_C void CRadioRdsUtility::StationSeekByPTY(
   167 EXPORT_C void CRadioRdsUtility::StationSeekByPTY(
   182     TRdsProgrammeType aPty,
   168     TRdsProgrammeType aPty,
   183     TBool aUpwards )
   169     TBool aUpwards )
   184     {
   170     {
   185     FUNC_LOG;
       
   186     ASSERT(iBody);
   171     ASSERT(iBody);
   187     iBody->StationSeekByPTY(aPty, aUpwards);
   172     iBody->StationSeekByPTY(aPty, aUpwards);
   188     }
   173     }
   189 
   174 
   190 // -----------------------------------------------------------------------------
   175 // -----------------------------------------------------------------------------
   192 // (other items were commented in a header).
   177 // (other items were commented in a header).
   193 // -----------------------------------------------------------------------------
   178 // -----------------------------------------------------------------------------
   194 EXPORT_C void CRadioRdsUtility::StationSeekByTA(
   179 EXPORT_C void CRadioRdsUtility::StationSeekByTA(
   195     TBool aSeekUp )
   180     TBool aSeekUp )
   196     {
   181     {
   197     FUNC_LOG;
       
   198     ASSERT(iBody);
   182     ASSERT(iBody);
   199     iBody->StationSeekByTA(aSeekUp);
   183     iBody->StationSeekByTA(aSeekUp);
   200     }
   184     }
   201 
   185 
   202 // -----------------------------------------------------------------------------
   186 // -----------------------------------------------------------------------------
   204 // (other items were commented in a header).
   188 // (other items were commented in a header).
   205 // -----------------------------------------------------------------------------
   189 // -----------------------------------------------------------------------------
   206 EXPORT_C void CRadioRdsUtility::StationSeekByTP(
   190 EXPORT_C void CRadioRdsUtility::StationSeekByTP(
   207     TBool aSeekUp )
   191     TBool aSeekUp )
   208     {
   192     {
   209     FUNC_LOG;
       
   210     ASSERT(iBody);
   193     ASSERT(iBody);
   211     iBody->StationSeekByTP(aSeekUp);
   194     iBody->StationSeekByTP(aSeekUp);
   212     }
   195     }
   213 
   196 
   214 // -----------------------------------------------------------------------------
   197 // -----------------------------------------------------------------------------
   215 // CRadioRdsUtility::CancelRdsStationSeek
   198 // CRadioRdsUtility::CancelRdsStationSeek
   216 // (other items were commented in a header).
   199 // (other items were commented in a header).
   217 // -----------------------------------------------------------------------------
   200 // -----------------------------------------------------------------------------
   218 EXPORT_C void CRadioRdsUtility::CancelRdsStationSeek()
   201 EXPORT_C void CRadioRdsUtility::CancelRdsStationSeek()
   219     {
   202     {
   220     FUNC_LOG;
       
   221     ASSERT(iBody);
   203     ASSERT(iBody);
   222     iBody->CancelRdsStationSeek();
   204     iBody->CancelRdsStationSeek();
   223     }
   205     }
   224 
   206 
   225 // -----------------------------------------------------------------------------
   207 // -----------------------------------------------------------------------------
   227 // (other items were commented in a header).
   209 // (other items were commented in a header).
   228 // -----------------------------------------------------------------------------
   210 // -----------------------------------------------------------------------------
   229 EXPORT_C void CRadioRdsUtility::GetFreqByPTY(
   211 EXPORT_C void CRadioRdsUtility::GetFreqByPTY(
   230     TRdsProgrammeType aPty )
   212     TRdsProgrammeType aPty )
   231     {
   213     {
   232     FUNC_LOG;
       
   233     ASSERT(iBody);
   214     ASSERT(iBody);
   234     iBody->GetFreqByPTY( aPty );
   215     iBody->GetFreqByPTY( aPty );
   235     }
   216     }
   236 
   217 
   237 // -----------------------------------------------------------------------------
   218 // -----------------------------------------------------------------------------
   238 // CRadioRdsUtility::CancelGetFreqByPTY
   219 // CRadioRdsUtility::CancelGetFreqByPTY
   239 // (other items were commented in a header).
   220 // (other items were commented in a header).
   240 // -----------------------------------------------------------------------------
   221 // -----------------------------------------------------------------------------
   241 EXPORT_C void CRadioRdsUtility::CancelGetFreqByPTY()
   222 EXPORT_C void CRadioRdsUtility::CancelGetFreqByPTY()
   242     {
   223     {
   243     FUNC_LOG;
       
   244     ASSERT(iBody);
   224     ASSERT(iBody);
   245     iBody->CancelGetFreqByPTY();
   225     iBody->CancelGetFreqByPTY();
   246     }
   226     }
   247 
   227 
   248 // -----------------------------------------------------------------------------
   228 // -----------------------------------------------------------------------------
   249 // CRadioRdsUtility::GetFreqByTA
   229 // CRadioRdsUtility::GetFreqByTA
   250 // (other items were commented in a header).
   230 // (other items were commented in a header).
   251 // -----------------------------------------------------------------------------
   231 // -----------------------------------------------------------------------------
   252 EXPORT_C void CRadioRdsUtility::GetFreqByTA()
   232 EXPORT_C void CRadioRdsUtility::GetFreqByTA()
   253     {
   233     {
   254     FUNC_LOG;
       
   255     ASSERT(iBody);
   234     ASSERT(iBody);
   256     iBody->GetFreqByTA();
   235     iBody->GetFreqByTA();
   257     }
   236     }
   258 
   237 
   259 // -----------------------------------------------------------------------------
   238 // -----------------------------------------------------------------------------
   260 // CRadioRdsUtility::CancelGetFreqByTA
   239 // CRadioRdsUtility::CancelGetFreqByTA
   261 // (other items were commented in a header).
   240 // (other items were commented in a header).
   262 // -----------------------------------------------------------------------------
   241 // -----------------------------------------------------------------------------
   263 EXPORT_C void CRadioRdsUtility::CancelGetFreqByTA()
   242 EXPORT_C void CRadioRdsUtility::CancelGetFreqByTA()
   264     {
   243     {
   265     FUNC_LOG;
       
   266     ASSERT(iBody);
   244     ASSERT(iBody);
   267     iBody->CancelGetFreqByTA();
   245     iBody->CancelGetFreqByTA();
   268     }
   246     }
   269 
   247 
   270 // -----------------------------------------------------------------------------
   248 // -----------------------------------------------------------------------------
   272 // (other items were commented in a header).
   250 // (other items were commented in a header).
   273 // -----------------------------------------------------------------------------
   251 // -----------------------------------------------------------------------------
   274 EXPORT_C void CRadioRdsUtility::GetPSByPTY(
   252 EXPORT_C void CRadioRdsUtility::GetPSByPTY(
   275     TRdsProgrammeType aPty )
   253     TRdsProgrammeType aPty )
   276     {
   254     {
   277     FUNC_LOG;
       
   278     ASSERT(iBody);
   255     ASSERT(iBody);
   279     iBody->GetPSByPTY( aPty );
   256     iBody->GetPSByPTY( aPty );
   280     }
   257     }
   281 
   258 
   282 // -----------------------------------------------------------------------------
   259 // -----------------------------------------------------------------------------
   283 // CRadioRdsUtility::CancelGetPSByPTY
   260 // CRadioRdsUtility::CancelGetPSByPTY
   284 // (other items were commented in a header).
   261 // (other items were commented in a header).
   285 // -----------------------------------------------------------------------------
   262 // -----------------------------------------------------------------------------
   286 EXPORT_C void CRadioRdsUtility::CancelGetPSByPTY()
   263 EXPORT_C void CRadioRdsUtility::CancelGetPSByPTY()
   287     {
   264     {
   288     FUNC_LOG;
       
   289     ASSERT(iBody);
   265     ASSERT(iBody);
   290     iBody->CancelGetPSByPTY();
   266     iBody->CancelGetPSByPTY();
   291     }
   267     }
   292 
   268 
   293 // -----------------------------------------------------------------------------
   269 // -----------------------------------------------------------------------------
   294 // CRadioRdsUtility::GetPSByTA
   270 // CRadioRdsUtility::GetPSByTA
   295 // (other items were commented in a header).
   271 // (other items were commented in a header).
   296 // -----------------------------------------------------------------------------
   272 // -----------------------------------------------------------------------------
   297 EXPORT_C void CRadioRdsUtility::GetPSByTA()
   273 EXPORT_C void CRadioRdsUtility::GetPSByTA()
   298     {
   274     {
   299     FUNC_LOG;
       
   300     ASSERT(iBody);
   275     ASSERT(iBody);
   301     iBody->GetPSByTA();
   276     iBody->GetPSByTA();
   302     }
   277     }
   303 
   278 
   304 // -----------------------------------------------------------------------------
   279 // -----------------------------------------------------------------------------
   305 // CRadioRdsUtility::CancelGetPSByTA
   280 // CRadioRdsUtility::CancelGetPSByTA
   306 // (other items were commented in a header).
   281 // (other items were commented in a header).
   307 // -----------------------------------------------------------------------------
   282 // -----------------------------------------------------------------------------
   308 EXPORT_C void CRadioRdsUtility::CancelGetPSByTA()
   283 EXPORT_C void CRadioRdsUtility::CancelGetPSByTA()
   309     {
   284     {
   310     FUNC_LOG;
       
   311     ASSERT(iBody);
   285     ASSERT(iBody);
   312     iBody->CancelGetPSByTA();
   286     iBody->CancelGetPSByTA();
   313     }
   287     }
   314 
   288 
   315 // -----------------------------------------------------------------------------
   289 // -----------------------------------------------------------------------------
   317 // (other items were commented in a header).
   291 // (other items were commented in a header).
   318 // -----------------------------------------------------------------------------
   292 // -----------------------------------------------------------------------------
   319 EXPORT_C TInt CRadioRdsUtility::GetProgrammeIdentification(
   293 EXPORT_C TInt CRadioRdsUtility::GetProgrammeIdentification(
   320     TInt& aPi )
   294     TInt& aPi )
   321     {
   295     {
   322     FUNC_LOG;
       
   323     ASSERT(iBody);
   296     ASSERT(iBody);
   324     return iBody->GetProgrammeIdentification( aPi );
   297     return iBody->GetProgrammeIdentification( aPi );
   325     }
   298     }
   326 
   299 
   327 // -----------------------------------------------------------------------------
   300 // -----------------------------------------------------------------------------
   329 // (other items were commented in a header).
   302 // (other items were commented in a header).
   330 // -----------------------------------------------------------------------------
   303 // -----------------------------------------------------------------------------
   331 EXPORT_C TInt CRadioRdsUtility::GetProgrammeType(
   304 EXPORT_C TInt CRadioRdsUtility::GetProgrammeType(
   332     TRdsProgrammeType& aPty )
   305     TRdsProgrammeType& aPty )
   333     {
   306     {
   334     FUNC_LOG;
       
   335     ASSERT(iBody);
   307     ASSERT(iBody);
   336     return iBody->GetProgrammeType( aPty );
   308     return iBody->GetProgrammeType( aPty );
   337     }
   309     }
   338 
   310 
   339 // -----------------------------------------------------------------------------
   311 // -----------------------------------------------------------------------------
   341 // (other items were commented in a header).
   313 // (other items were commented in a header).
   342 // -----------------------------------------------------------------------------
   314 // -----------------------------------------------------------------------------
   343 EXPORT_C TInt CRadioRdsUtility::GetProgrammeService(
   315 EXPORT_C TInt CRadioRdsUtility::GetProgrammeService(
   344     TRdsPSName& aPs )
   316     TRdsPSName& aPs )
   345     {
   317     {
   346     FUNC_LOG;
       
   347     ASSERT(iBody);
   318     ASSERT(iBody);
   348     return iBody->GetProgrammeService( aPs );
   319     return iBody->GetProgrammeService( aPs );
   349     }
   320     }
   350 
   321 
   351 // -----------------------------------------------------------------------------
   322 // -----------------------------------------------------------------------------
   353 // (other items were commented in a header).
   324 // (other items were commented in a header).
   354 // -----------------------------------------------------------------------------
   325 // -----------------------------------------------------------------------------
   355 EXPORT_C TInt CRadioRdsUtility::GetRadioText(
   326 EXPORT_C TInt CRadioRdsUtility::GetRadioText(
   356     TRdsRadioText& aRt )
   327     TRdsRadioText& aRt )
   357     {
   328     {
   358     FUNC_LOG;
       
   359     ASSERT(iBody);
   329     ASSERT(iBody);
   360     return iBody->GetRadioText( aRt );
   330     return iBody->GetRadioText( aRt );
   361     }
   331     }
   362 
   332 
   363 // -----------------------------------------------------------------------------
   333 // -----------------------------------------------------------------------------
   366 // -----------------------------------------------------------------------------
   336 // -----------------------------------------------------------------------------
   367 EXPORT_C TInt CRadioRdsUtility::GetRadioTextPlus(
   337 EXPORT_C TInt CRadioRdsUtility::GetRadioTextPlus(
   368     TRdsRTplusClass aRtPlusClass,
   338     TRdsRTplusClass aRtPlusClass,
   369     TRdsRadioText& aRtPlusData )
   339     TRdsRadioText& aRtPlusData )
   370     {
   340     {
   371     FUNC_LOG;
       
   372     ASSERT(iBody);
   341     ASSERT(iBody);
   373     return iBody->GetRadioTextPlus( aRtPlusClass,aRtPlusData );
   342     return iBody->GetRadioTextPlus( aRtPlusClass,aRtPlusData );
   374     }
   343     }
   375 
   344 
   376 // -----------------------------------------------------------------------------
   345 // -----------------------------------------------------------------------------
   378 // (other items were commented in a header).
   347 // (other items were commented in a header).
   379 // -----------------------------------------------------------------------------
   348 // -----------------------------------------------------------------------------
   380 EXPORT_C TInt CRadioRdsUtility::GetClockTime(
   349 EXPORT_C TInt CRadioRdsUtility::GetClockTime(
   381     TDateTime& aCt )
   350     TDateTime& aCt )
   382     {
   351     {
   383     FUNC_LOG;
       
   384     ASSERT(iBody);
   352     ASSERT(iBody);
   385     return iBody->GetClockTime( aCt );
   353     return iBody->GetClockTime( aCt );
   386     }
   354     }
   387 
   355 
   388 // -----------------------------------------------------------------------------
   356 // -----------------------------------------------------------------------------
   390 // (other items were commented in a header).
   358 // (other items were commented in a header).
   391 // -----------------------------------------------------------------------------
   359 // -----------------------------------------------------------------------------
   392 EXPORT_C TInt CRadioRdsUtility::GetTrafficAnnouncementStatus(
   360 EXPORT_C TInt CRadioRdsUtility::GetTrafficAnnouncementStatus(
   393     TBool& aTaStatus )
   361     TBool& aTaStatus )
   394     {
   362     {
   395     FUNC_LOG;
       
   396     ASSERT(iBody);
   363     ASSERT(iBody);
   397     return iBody->GetTrafficAnnouncementStatus( aTaStatus );
   364     return iBody->GetTrafficAnnouncementStatus( aTaStatus );
   398     }
   365     }
   399 
   366 
   400 // -----------------------------------------------------------------------------
   367 // -----------------------------------------------------------------------------
   402 // (other items were commented in a header).
   369 // (other items were commented in a header).
   403 // -----------------------------------------------------------------------------
   370 // -----------------------------------------------------------------------------
   404 EXPORT_C TInt CRadioRdsUtility::GetTrafficProgrammeStatus(
   371 EXPORT_C TInt CRadioRdsUtility::GetTrafficProgrammeStatus(
   405     TBool& aTpStatus )
   372     TBool& aTpStatus )
   406     {
   373     {
   407     FUNC_LOG;
       
   408     ASSERT(iBody);
   374     ASSERT(iBody);
   409     return iBody->GetTrafficProgrammeStatus( aTpStatus );
   375     return iBody->GetTrafficProgrammeStatus( aTpStatus );
   410     }
   376     }
   411 
   377 
   412 
   378