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