|
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef cphonestate_tester_h |
|
19 #define cphonestate_tester_h |
|
20 |
|
21 #include <CPhoneState.h> |
|
22 #include "TPhoneCmdParamCallHeaderData.h" |
|
23 |
|
24 NONSHARABLE_CLASS( cphonestate_tester ) : public CPhoneState |
|
25 { |
|
26 public: |
|
27 |
|
28 cphonestate_tester( |
|
29 MPhoneStateMachine* aStateMachine, |
|
30 MPhoneViewCommandHandle* aViewCommandHandle, |
|
31 MPhoneCustomization* aCustomization ); |
|
32 |
|
33 ~cphonestate_tester(); |
|
34 |
|
35 void T_DisplayCallTerminationNoteL(); |
|
36 |
|
37 TBool T_iDialRequest(); |
|
38 |
|
39 void T_HandleVideoCallSetupFailedCreateVoiceCallToTheSameContactL(); |
|
40 |
|
41 void T_DialVoiceCallL(); |
|
42 |
|
43 void T_HandlePhoneEngineMessageL( |
|
44 const TInt aMessage, |
|
45 TInt aCallId ); |
|
46 |
|
47 TBool CheckIfShowCallTerminationNote() |
|
48 { |
|
49 return ETrue; |
|
50 } |
|
51 |
|
52 void T_ShowNumberBusyNoteL(); |
|
53 |
|
54 void T_UpdateRemoteInfoDataL( TInt aCallId ); |
|
55 |
|
56 void T_StartShowSecurityNoteL(); |
|
57 |
|
58 void T_UpdateSingleActiveCallL( TInt aCallId ); |
|
59 |
|
60 void T_HandleDisconnectingL( TInt aCallId ); |
|
61 |
|
62 private: |
|
63 |
|
64 // Data |
|
65 |
|
66 }; |
|
67 |
|
68 cphonestate_tester::cphonestate_tester( |
|
69 MPhoneStateMachine* aStateMachine, |
|
70 MPhoneViewCommandHandle* aViewCommandHandle, |
|
71 MPhoneCustomization* aCustomization ) : CPhoneState(aStateMachine, aViewCommandHandle, aCustomization) |
|
72 { |
|
73 } |
|
74 |
|
75 cphonestate_tester::~cphonestate_tester() |
|
76 { |
|
77 } |
|
78 |
|
79 void cphonestate_tester::T_DisplayCallTerminationNoteL() |
|
80 { |
|
81 DisplayCallTerminationNoteL(); |
|
82 } |
|
83 |
|
84 void cphonestate_tester::T_DialVoiceCallL() |
|
85 { |
|
86 DialVoiceCallL(); |
|
87 } |
|
88 |
|
89 void cphonestate_tester::T_HandlePhoneEngineMessageL( |
|
90 const TInt aMessage, |
|
91 TInt aCallId ) |
|
92 { |
|
93 HandlePhoneEngineMessageL( aMessage, aCallId ); |
|
94 } |
|
95 |
|
96 void cphonestate_tester::T_ShowNumberBusyNoteL() |
|
97 { |
|
98 ShowNumberBusyNoteL(); |
|
99 } |
|
100 |
|
101 void cphonestate_tester::T_UpdateRemoteInfoDataL( TInt aCallId ) |
|
102 { |
|
103 UpdateRemoteInfoDataL( aCallId ); |
|
104 } |
|
105 |
|
106 void cphonestate_tester::T_StartShowSecurityNoteL() |
|
107 { |
|
108 StartShowSecurityNoteL(); |
|
109 } |
|
110 |
|
111 void cphonestate_tester::T_UpdateSingleActiveCallL( TInt aCallId ) |
|
112 { |
|
113 UpdateSingleActiveCallL( aCallId ); |
|
114 } |
|
115 |
|
116 void cphonestate_tester::T_HandleDisconnectingL( TInt aCallId ) |
|
117 { |
|
118 HandleDisconnectingL( aCallId ); |
|
119 } |
|
120 |
|
121 |
|
122 #endif // cphonestate_tester_h |
|
123 |
|
124 //End of file |