email/mobilitytestframework/inc/mobilitytestmtmapi.h
branchSymbian2
changeset 1 8758140453c0
child 6 c108117318cb
equal deleted inserted replaced
0:e8c1ea2c6496 1:8758140453c0
       
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of the License "Symbian Foundation License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalTechnology
       
    21  @released
       
    22 */
       
    23 
       
    24 #ifndef __MOBILITYTESTMTMAPI_H__
       
    25 #define __MOBILITYTESTMTMAPI_H__
       
    26 
       
    27 #ifndef __MOBILITY_TEST_FRAMEWORK
       
    28 
       
    29 #define MOBILITY_TEST_CREATE(serviceId, mobilityManager)
       
    30 #define MOBILITY_TEST_DELETE(mobilityManager)
       
    31 #define MOBILITY_TEST_MTM_STATE(serviceId, state)
       
    32 
       
    33 #else //__MOBILITY_TEST_FRAMEWORK
       
    34 
       
    35 #include "timmobilitytestmtmstate.h"
       
    36 #include "cimmobilitytestframework.h"
       
    37 
       
    38 #define MOBILITY_TEST_CREATE(serviceId, mobilityManager) CImMobilityTestFramework::Create(serviceId, mobilityManager)
       
    39 #define MOBILITY_TEST_DELETE(mobilityManager) CImMobilityTestFramework::Delete(mobilityManager)
       
    40 #define MOBILITY_TEST_MTM_STATE(serviceId, state) CImMobilityTestFramework::MtmState(serviceId, state)
       
    41 
       
    42 #endif //__MOBILITY_TEST_FRAMEWORK
       
    43 
       
    44 #endif //__MOBILITYTESTMTMAPI_H__