cbsref/telephonyrefplugins/atltsy/integrationtest/inc/testltsypktshareddata.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 31 Aug 2010 16:23:08 +0300
branchRCL_3
changeset 19 630d2f34d719
permissions -rw-r--r--
Revision: 201035 Kit: 201035

// CTestTelephonyPktSharedData.h
// Copyright (c) Symbian Software Ltd 2008. All rights reserved.
//
// Implementation of the Class CTestTelephonyPktSharedData

#ifndef TESTTELEPHONYPKTSHAREDDATA_H_
#define TESTTELEPHONYPKTSHAREDDATA_H_

// system include
#include <etelqos.h>
#include <pcktcs.h>

// const define
const TInt KTFTFiltersGranularity 	= 1;
const TInt KMaxServiceNum 			= 1;
const TInt KMaxContextNum 			= 11;

/**
 * This class defines the shared data of PACKET test category between 
 * different test steps.
 */
class CTestLtsyPktSharedData : public CBase
/**
 * @internalAll
 * @test
 */
	{
public: 
	virtual ~CTestLtsyPktSharedData();
	static CTestLtsyPktSharedData* NewL();	
private:
	CTestLtsyPktSharedData();
	void ConstructL();

public:
	RPacketService                      iPacket;
	RPacketService::TStatus             iPacketStatus;
	RPacketService::TRegistrationStatus iRegistrationStatus;
	RPacketService::TMSClass            iCurrentMobileStationClass;
	RPacketService::TMSClass            iMaxMobileStationClass;
	TUint                               iStaticCaps;
	RPacketService::TDynamicCapsFlags   iDynamicCaps;
	RPacketService::TAttachMode         iCurrentAttachMode;
	TInt                                iNumContexts;
	TInt                                iMaxContextsAllowed;
	RPacketContext                      iContext1;
	RPacketContext                      iContext2;
	RPacketContext                      iContext3;
	RPacketService::TContextInfo        iContextInfo;
	RPacketService::TContextInfo        iContextInfo2;
	TName                               iContextName;
	TName                               iContextName1;
	RPacketContext::TContextStatus      iContextStatus;
	RPacketQoS                          iQoS;
	TName                               iQoSName;
	RPacketQoS::TQoSCapsGPRS        iQoSCapabilities;
	RPacketQoS::TQoSGPRSRequested   iQoSRequested;
	RPacketQoS::TQoSGPRSNegotiated  iQoSNegotiated;
	};

#endif // TESTTELEPHONYPKTSHAREDDATA_H_