telephonyserverplugins/common_tsy/commontsy/src/mmstorage/cmmenstoretsy.cpp
branchRCL_3
changeset 65 630d2f34d719
parent 16 fe8b59ab9fa0
child 66 07a122eea281
child 69 b982c3e940f3
equal deleted inserted replaced
61:17af172ffa5f 65:630d2f34d719
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2006-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".
    14 //
    14 //
    15 
    15 
    16 
    16 
    17 
    17 
    18 //  INCLUDE FILES
    18 //  INCLUDE FILES
       
    19 
       
    20 #include "OstTraceDefinitions.h"
       
    21 #ifdef OST_TRACE_COMPILER_IN_USE
       
    22 #include "cmmenstoretsyTraces.h"
       
    23 #endif
       
    24 
    19 #include "cmmenstoretsy.h"
    25 #include "cmmenstoretsy.h"
    20 #include "cmmtsyreqhandlestore.h"
    26 #include "cmmtsyreqhandlestore.h"
    21 #include "CMmPrivateUtility.h"
    27 #include "CMmPrivateUtility.h"
    22 #include "MmTsy_numberOfSlots.h"
    28 #include "MmTsy_numberOfSlots.h"
    23 #include "MmTsy_timeoutdefs.h"
    29 #include "MmTsy_timeoutdefs.h"
    81     return aMmENStoreTsy;
    87     return aMmENStoreTsy;
    82     }
    88     }
    83 
    89 
    84 CMmENStoreTsy::~CMmENStoreTsy()
    90 CMmENStoreTsy::~CMmENStoreTsy()
    85     {
    91     {
    86 TFLOGSTRING("TSY: CMmENStoreTsy::~CMmENStoreTsy");
    92 OstTraceDef0(OST_TRACE_CATEGORY_DEBUG, TRACE_INTERNALS, CMMENSTORETSY_DTOR_1, "TSY: CMmENStoreTsy::~CMmENStoreTsy");
    87 
    93 
    88     if (iMmPhone )
    94     if (iMmPhone )
    89         {
    95         {
    90         // deregister tsy object from message manager
    96         // deregister tsy object from message manager
    91         iMmPhone->MessageManager()->DeregisterTsyObject( this );
    97         iMmPhone->MessageManager()->DeregisterTsyObject( this );