telephonyserverplugins/common_tsy/commontsy/src/mmutility/CMmTsyBase.cpp
changeset 69 b982c3e940f3
parent 0 3553901f7fa8
equal deleted inserted replaced
59:ac20d6a0a19d 69:b982c3e940f3
   289         }
   289         }
   290     }
   290     }
   291 
   291 
   292 #endif
   292 #endif
   293 
   293 
       
   294 // ---------------------------------------------------------------------------
       
   295 // CMmTsyBase::ResetReqHandle
       
   296 // Resets the request handle in the right req handle store
       
   297 // (other items were commented in a header).
       
   298 // ---------------------------------------------------------------------------
       
   299 //
       
   300 TBool CMmTsyBase::ResetReqHandle(const TTsyReqHandle aTsyReqHandle, const TInt aIpc)
       
   301     {
       
   302     TInt max = GetMaxNumberOfSubsystems();
       
   303     CMmSubTsyBase** subTsyPtr = GetSubsystemArrayPtr();
       
   304     TBool ret = EFalse;
       
   305     
       
   306     for ( TInt i = 0 ; max > i; i++ )
       
   307         {
       
   308          //check which custom object handles this IPC
       
   309         if ( ( NULL != subTsyPtr[i] ) 
       
   310         && ( EFalse != subTsyPtr[i]->SupportingIPC( aIpc ) ) )
       
   311                {
       
   312                //call reset handle method of the right custom object
       
   313                ret = subTsyPtr[i]->ResetReqHandle( aTsyReqHandle, aIpc );
       
   314                i = max;
       
   315                }
       
   316         }
       
   317     return ret;
       
   318     }
       
   319 
       
   320 
   294 //  End of File
   321 //  End of File
   295 
   322