cbsref/telephonyrefplugins/atltsy/integrationtest/inc/testltsycallshareddata.h
changeset 49 f50f4094acd7
equal deleted inserted replaced
48:14460bf2a402 49:f50f4094acd7
       
     1 // Copyright (c) 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 "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // @file testltsycallshareddata.h
       
    15 // 
       
    16 
       
    17 #ifndef TESTTELEPHONYCALLSHAREDDATA_H
       
    18 #define TESTTELEPHONYCALLSHAREDDATA_H
       
    19 
       
    20 // system include
       
    21 #include <e32cmn.h>
       
    22 #include <e32base.h>
       
    23 #include <etelmm.h>
       
    24 #include <etel3rdparty.h>
       
    25 #include <RMmCustomAPI.h>
       
    26 
       
    27 /**
       
    28  * This class defines the shared data related to phone call among test steps.
       
    29  * 
       
    30  */
       
    31 
       
    32 class CTestLtsyCallSharedData : public CBase
       
    33 	{
       
    34 /**
       
    35  * @internalAll
       
    36  * @test
       
    37  */	
       
    38 	
       
    39 public:
       
    40 	static CTestLtsyCallSharedData* NewL();
       
    41 	virtual ~CTestLtsyCallSharedData();
       
    42 	RLine& VoiceLine();
       
    43 	RMobileCall& VoiceCallOne();
       
    44 	RMobileCall& VoiceCallTwo();
       
    45 	RMobileCall& EmergencyCall();
       
    46 	RMmCustomAPI& MmCustomAPI();
       
    47 	CTelephony*& ThirdPartyTelephony();
       
    48 	
       
    49 protected:
       
    50 	CTestLtsyCallSharedData();
       
    51 	void ConstructL();
       
    52 	
       
    53 private:
       
    54 	RLine iVoiceLine;
       
    55 	RMobileCall iVoiceCallOne;
       
    56 	RMobileCall iVoiceCallTwo;
       
    57 	RMobileCall iEmergencyCall;
       
    58 	RMmCustomAPI iMmCustomAPI;
       
    59 	CTelephony* iThirdPartyTel;
       
    60 	};
       
    61 
       
    62 #endif