|
1 // CTestTelephonyPktSharedData.h |
|
2 // Copyright (c) Symbian Software Ltd 2008. All rights reserved. |
|
3 // |
|
4 // Implementation of the Class CTestTelephonyPktSharedData |
|
5 |
|
6 #ifndef TESTTELEPHONYPKTSHAREDDATA_H_ |
|
7 #define TESTTELEPHONYPKTSHAREDDATA_H_ |
|
8 |
|
9 // system include |
|
10 #include <etelqos.h> |
|
11 #include <pcktcs.h> |
|
12 |
|
13 // const define |
|
14 const TInt KTFTFiltersGranularity = 1; |
|
15 const TInt KMaxServiceNum = 1; |
|
16 const TInt KMaxContextNum = 11; |
|
17 |
|
18 /** |
|
19 * This class defines the shared data of PACKET test category between |
|
20 * different test steps. |
|
21 */ |
|
22 class CTestLtsyPktSharedData : public CBase |
|
23 /** |
|
24 * @internalAll |
|
25 * @test |
|
26 */ |
|
27 { |
|
28 public: |
|
29 virtual ~CTestLtsyPktSharedData(); |
|
30 static CTestLtsyPktSharedData* NewL(); |
|
31 private: |
|
32 CTestLtsyPktSharedData(); |
|
33 void ConstructL(); |
|
34 |
|
35 public: |
|
36 RPacketService iPacket; |
|
37 RPacketService::TStatus iPacketStatus; |
|
38 RPacketService::TRegistrationStatus iRegistrationStatus; |
|
39 RPacketService::TMSClass iCurrentMobileStationClass; |
|
40 RPacketService::TMSClass iMaxMobileStationClass; |
|
41 TUint iStaticCaps; |
|
42 RPacketService::TDynamicCapsFlags iDynamicCaps; |
|
43 RPacketService::TAttachMode iCurrentAttachMode; |
|
44 TInt iNumContexts; |
|
45 TInt iMaxContextsAllowed; |
|
46 RPacketContext iContext1; |
|
47 RPacketContext iContext2; |
|
48 RPacketContext iContext3; |
|
49 RPacketService::TContextInfo iContextInfo; |
|
50 RPacketService::TContextInfo iContextInfo2; |
|
51 TName iContextName; |
|
52 TName iContextName1; |
|
53 RPacketContext::TContextStatus iContextStatus; |
|
54 RPacketQoS iQoS; |
|
55 TName iQoSName; |
|
56 RPacketQoS::TQoSCapsGPRS iQoSCapabilities; |
|
57 RPacketQoS::TQoSGPRSRequested iQoSRequested; |
|
58 RPacketQoS::TQoSGPRSNegotiated iQoSNegotiated; |
|
59 }; |
|
60 |
|
61 #endif // TESTTELEPHONYPKTSHAREDDATA_H_ |