24
|
1 |
// Copyright (c) 2004-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 |
// This is the header file for MM Autorization Data
|
|
15 |
//
|
|
16 |
//
|
|
17 |
|
|
18 |
/**
|
|
19 |
@file
|
|
20 |
@internalComponent
|
|
21 |
*/
|
|
22 |
|
|
23 |
#if (!defined __ETELMMAUTHORIZATION_H__)
|
|
24 |
#define __ETELMMAUTHORIZATION_H__
|
|
25 |
|
|
26 |
#include "TE_EtelMMTestStepBase.h"
|
|
27 |
#include "mmretrieve.h"
|
|
28 |
#include "TE_mmcanceller.h"
|
|
29 |
|
|
30 |
NONSHARABLE_CLASS(CEtelMMTestAuthorizationData) : public CEtelMMTestStepBase
|
|
31 |
{
|
|
32 |
public:
|
|
33 |
CEtelMMTestAuthorizationData();
|
|
34 |
~CEtelMMTestAuthorizationData();
|
|
35 |
void Test(TBool aCondition);
|
|
36 |
|
|
37 |
virtual enum TVerdict doTestStepL( void );
|
|
38 |
};
|
|
39 |
|
|
40 |
|
|
41 |
NONSHARABLE_CLASS(CTestAuthorizationData) : public CActive
|
|
42 |
{
|
|
43 |
public:
|
|
44 |
static CTestAuthorizationData* NewLC(RMobilePhone& aPhone,RMobilePhone::CImsAuthorizationInfoV5& aAuthInfo);
|
|
45 |
~CTestAuthorizationData();
|
|
46 |
void Start();
|
|
47 |
CAsyncRetrieveAuthorizationInfo* iRetrieve;
|
|
48 |
protected:
|
|
49 |
CTestAuthorizationData(RMobilePhone& aPhone,RMobilePhone::CImsAuthorizationInfoV5& aAuthInfo);
|
|
50 |
void ConstructL();
|
|
51 |
void RunL();
|
|
52 |
void DoCancel();
|
|
53 |
TInt RunError(TInt aError);
|
|
54 |
protected:
|
|
55 |
RMobilePhone::CImsAuthorizationInfoV5& iAuthInfo;
|
|
56 |
public:
|
|
57 |
CTestCanceller* iCanceller;
|
|
58 |
protected:
|
|
59 |
RMobilePhone& iPhone;
|
|
60 |
};
|
|
61 |
|
|
62 |
|
|
63 |
//
|
|
64 |
#endif //(__ETELMMAUTHORIZATION_H__)
|