radioapp/radioenginewrapper/src/radiordslistener.cpp
changeset 16 f54ebcfc1b80
parent 13 46974bebc798
child 37 451b2e1545b2
equal deleted inserted replaced
14:63aabac4416d 16:f54ebcfc1b80
    42 /*!
    42 /*!
    43  * \reimp
    43  * \reimp
    44  */
    44  */
    45 void RadioRdsListener::RdsAvailable( TUint32 /*aFrequency*/, TBool aAvailable )
    45 void RadioRdsListener::RdsAvailable( TUint32 /*aFrequency*/, TBool aAvailable )
    46 {
    46 {
    47     mWrapper.observer().rdsAvailabilityChanged( aAvailable );
    47     RUN_NOTIFY_LOOP( mWrapper.observers(), rdsAvailabilityChanged( aAvailable ) );
    48 }
    48 }
    49 
    49 
    50 /*!
    50 /*!
    51  * \reimp
    51  * \reimp
    52  */
    52  */
    75 {
    75 {
    76     if ( aProgramService.Length() > 0 ) {
    76     if ( aProgramService.Length() > 0 ) {
    77         LOG_TIMESTAMP( "RdsName changed" );
    77         LOG_TIMESTAMP( "RdsName changed" );
    78         const uint frequency = static_cast<uint>( aFrequency );
    78         const uint frequency = static_cast<uint>( aFrequency );
    79         mStationHandler.setCurrentPsName( frequency, convertString( aProgramService ) );
    79         mStationHandler.setCurrentPsName( frequency, convertString( aProgramService ) );
    80 
       
    81         // TODO: Remove below when RdsDataPTY callback is available
       
    82         RdsDataGenre( frequency, GenreEurope::RdsRockMusic );
       
    83 
    80 
    84 #ifdef SHOW_CALLSIGN_IN_ANY_REGION
    81 #ifdef SHOW_CALLSIGN_IN_ANY_REGION
    85         RdsDataPiCode( frequency, 0x3BB7 ); //KQOL-FM - Las Vegas, NV
    82         RdsDataPiCode( frequency, 0x3BB7 ); //KQOL-FM - Las Vegas, NV
    86 #endif
    83 #endif
    87     }
    84     }