radioengine/utils/src/cradiosystemeventcollectorimp.cpp
changeset 54 a8ba0c289b44
parent 38 f8c3d4e6102c
child 57 21be958eb3ce
equal deleted inserted replaced
51:bbebb0235466 54:a8ba0c289b44
   152     LEVEL3( LOG_METHOD_AUTO );
   152     LEVEL3( LOG_METHOD_AUTO );
   153     return iHeadsetObserver->IsHeadsetConnectedL();
   153     return iHeadsetObserver->IsHeadsetConnectedL();
   154     }
   154     }
   155 
   155 
   156 // ---------------------------------------------------------------------------
   156 // ---------------------------------------------------------------------------
       
   157 // returns this as MRadioAudioRoutingObserver 
       
   158 // ---------------------------------------------------------------------------
       
   159 void CRadioSystemEventCollectorImp::AsObserver( MRadioAudioRoutingObserver*& obj )const
       
   160 {
       
   161     CRadioSystemEventCollectorImp *object = const_cast<CRadioSystemEventCollectorImp*>( this );
       
   162     obj = object;
       
   163 }
       
   164 
       
   165 // ---------------------------------------------------------------------------
   157 // Notifies the observers of system event
   166 // Notifies the observers of system event
   158 // ---------------------------------------------------------------------------
   167 // ---------------------------------------------------------------------------
   159 //
   168 //
   160 void CRadioSystemEventCollectorImp::NotifyObserversL( TRadioSystemEventType aEvent )
   169 void CRadioSystemEventCollectorImp::NotifyObserversL( TRadioSystemEventType aEvent )
   161     {
   170     {