telephonyserverplugins/common_tsy/commontsy/src/mmtsy/cmmphonetsywithdispatcher.cpp
branchRCL_3
changeset 65 630d2f34d719
parent 0 3553901f7fa8
child 66 07a122eea281
equal deleted inserted replaced
61:17af172ffa5f 65:630d2f34d719
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    12 //
    12 //
    13 // Description:
    13 // Description:
    14 //
    14 //
    15 
    15 
    16 #ifdef USING_CTSY_DISPATCHER
    16 #ifdef USING_CTSY_DISPATCHER
       
    17 
       
    18 #include "OstTraceDefinitions.h"
       
    19 #ifdef OST_TRACE_COMPILER_IN_USE
       
    20 #include "cmmphonetsywithdispatcherTraces.h"
       
    21 #endif
    17 
    22 
    18 /**
    23 /**
    19  * This file contains additional function definitions for the CMmPhoneTsy class
    24  * This file contains additional function definitions for the CMmPhoneTsy class
    20  * in CTSY for use when the CTSY is used with the CTSY Dispatcher.
    25  * in CTSY for use when the CTSY is used with the CTSY Dispatcher.
    21  */
    26  */
    50 		if(aPhoneId.iSerialNumber.Length() > 0)
    55 		if(aPhoneId.iSerialNumber.Length() > 0)
    51 			{
    56 			{
    52 			iPhoneIdentity.iSerialNumber.Copy(aPhoneId.iSerialNumber);
    57 			iPhoneIdentity.iSerialNumber.Copy(aPhoneId.iSerialNumber);
    53 			}
    58 			}
    54 
    59 
    55 TFLOGSTRING("TSY: CMmPhoneTsy::CompleteGetPhoneId :");
    60 OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPHONETSY_COMPLETEGETPHONEID1_1, "TSY: CMmPhoneTsy::CompleteGetPhoneId :");
    56 TFLOGSTRING2("				Manufacturer: %S,", &iPhoneIdentity.iManufacturer);
    61 OstTraceDefExt1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPHONETSY_COMPLETEGETPHONEID1_2, "Manufacturer: %S,", iPhoneIdentity.iManufacturer);
    57 TFLOGSTRING2("				Model: %S,", &iPhoneIdentity.iModel);
    62 OstTraceDefExt1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPHONETSY_COMPLETEGETPHONEID1_3, "Model: %S,", iPhoneIdentity.iModel);
    58 TFLOGSTRING2("				Revision: %S,", &iPhoneIdentity.iRevision);
    63 OstTraceDefExt1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPHONETSY_COMPLETEGETPHONEID1_4, "Revision: %S,", iPhoneIdentity.iRevision);
    59 TFLOGSTRING2("				SerialNumber: %S", &iPhoneIdentity.iSerialNumber);
    64 OstTraceDefExt1(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMPHONETSY_COMPLETEGETPHONEID1_5, "SerialNumber: %S", iPhoneIdentity.iSerialNumber);
    60         }
    65         }
    61 
    66 
    62     //reset req handle. Returns the deleted req handle
    67     //reset req handle. Returns the deleted req handle
    63     iTsyReqHandleStore->ResetTsyReqHandle(EMultimodePhoneGetPhoneId );
    68     iTsyReqHandleStore->ResetTsyReqHandle(EMultimodePhoneGetPhoneId );
    64    
    69