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