clock2/clockengines/utilities/clockecomlistener/src/clockecomlistener.cpp
branchRCL_3
changeset 27 55d60436f00b
parent 0 f979ecb2b13e
child 67 1539a383d7b6
equal deleted inserted replaced
21:9711e452b5e9 27:55d60436f00b
   177 //
   177 //
   178 void CClockEComListener::Start()
   178 void CClockEComListener::Start()
   179     {
   179     {
   180     __PRINTS( "CClockEComListener::Start - Entry" );
   180     __PRINTS( "CClockEComListener::Start - Entry" );
   181     
   181     
   182     // Start the active object and listen for changes in the ECOM registry.
   182     if (!IsActive())
   183     if( iEComSession )
   183         {
   184         {
   184        // Start the active object and listen for changes in the ECOM registry.
   185         iEComSession->NotifyOnChange( iStatus );
   185         if( iEComSession )
   186         }
   186             {
   187     SetActive();
   187             iEComSession->NotifyOnChange( iStatus );
       
   188             SetActive();
       
   189             }
       
   190         }
       
   191  
   188     
   192     
   189     __PRINTS( "CClockEComListener::Start - Exit" );
   193     __PRINTS( "CClockEComListener::Start - Exit" );
   190     }
   194     }
   191 
   195 
   192 // ---------------------------------------------------------
   196 // ---------------------------------------------------------