--- a/telephonyserverplugins/common_tsy/commontsy/src/mmutility/CMmTsyBase.cpp Tue Sep 14 23:33:57 2010 +0300
+++ b/telephonyserverplugins/common_tsy/commontsy/src/mmutility/CMmTsyBase.cpp Wed Sep 15 13:30:43 2010 +0300
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
+// Copyright (c) 2006-2010 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
@@ -291,5 +291,32 @@
#endif
+// ---------------------------------------------------------------------------
+// CMmTsyBase::ResetReqHandle
+// Resets the request handle in the right req handle store
+// (other items were commented in a header).
+// ---------------------------------------------------------------------------
+//
+TBool CMmTsyBase::ResetReqHandle(const TTsyReqHandle aTsyReqHandle, const TInt aIpc)
+ {
+ TInt max = GetMaxNumberOfSubsystems();
+ CMmSubTsyBase** subTsyPtr = GetSubsystemArrayPtr();
+ TBool ret = EFalse;
+
+ for ( TInt i = 0 ; max > i; i++ )
+ {
+ //check which custom object handles this IPC
+ if ( ( NULL != subTsyPtr[i] )
+ && ( EFalse != subTsyPtr[i]->SupportingIPC( aIpc ) ) )
+ {
+ //call reset handle method of the right custom object
+ ret = subTsyPtr[i]->ResetReqHandle( aTsyReqHandle, aIpc );
+ i = max;
+ }
+ }
+ return ret;
+ }
+
+
// End of File