convergedcallengine/cce/src/cccedurationtimer.cpp
branchRCL_3
changeset 20 987c9837762f
parent 19 7d48bed6ce0c
equal deleted inserted replaced
19:7d48bed6ce0c 20:987c9837762f
   143         
   143         
   144     }
   144     }
   145 
   145 
   146 // -----------------------------------------------------------------------------
   146 // -----------------------------------------------------------------------------
   147 // -----------------------------------------------------------------------------
   147 // -----------------------------------------------------------------------------
   148 //  
   148 //	
   149 void CCCEDurationTimer::RestartAirTimeDuration(TInt aBeatsOffset)
   149 void CCCEDurationTimer::RestartAirTimeDuration(TInt aBeatsOffset)
   150     {
   150     {
   151     //Check if active 
   151     //Check if active 
   152     if ( !iActive ) 
   152     if ( !iActive ) 
   153         {
   153         {
   159         iActive = ETrue;
   159         iActive = ETrue;
   160         //Set flag to indicate that air time duration counter is started
   160         //Set flag to indicate that air time duration counter is started
   161         iAirTimeDuration = ETrue;
   161         iAirTimeDuration = ETrue;
   162         }
   162         }
   163     }
   163     }
   164     
   164 	
   165 // -----------------------------------------------------------------------------
   165 // -----------------------------------------------------------------------------
   166 // CCCEDurationTimer::StartAirTimeDuration
   166 // CCCEDurationTimer::StartAirTimeDuration
   167 //    if timer is not already active
   167 //    if timer is not already active
   168 //        set iStarTime to current time
   168 //        set iStarTime to current time
   169 //        start timer
   169 //        start timer
   197 // (other items were commented in a header).
   197 // (other items were commented in a header).
   198 // -----------------------------------------------------------------------------
   198 // -----------------------------------------------------------------------------
   199 //
   199 //
   200 TDateTime CCCEDurationTimer::StartTime()
   200 TDateTime CCCEDurationTimer::StartTime()
   201     {
   201     {
   202     return iStartTime.DateTime();
   202 	return iStartTime.DateTime();
   203     }
   203     }
   204 
   204 
   205 // -----------------------------------------------------------------------------
   205 // -----------------------------------------------------------------------------
   206 // CCCEDurationTimer::Stop
   206 // CCCEDurationTimer::Stop
   207 // Stops timer
   207 // Stops timer