|
1 /* |
|
2 * Copyright (c) 2005-2008 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 |
|
19 // INCLUDES |
|
20 #include <FeatMgr.h> |
|
21 #include <StringLoader.h> |
|
22 #include <AknUtils.h> |
|
23 #include <mpeengineinfo.h> |
|
24 #include <mpeclientinformation.h> |
|
25 |
|
26 #include "CPhonePubSubProxy.h" |
|
27 #include "CPhoneStateCallSetupstub.h" |
|
28 #include "CPhoneStateInCall.h" |
|
29 #include "MPhoneStateMachine.h" |
|
30 #include "TPhoneCmdParamBoolean.h" |
|
31 #include "TPhoneCmdParamInteger.h" |
|
32 #include "TPhoneCmdParamCallStateData.h" |
|
33 #include "TPhoneCmdParamCallHeaderData.h" |
|
34 #include "TPhoneCmdParamGlobalNote.h" |
|
35 #include "PhoneStateDefinitions.h" |
|
36 #include "PhoneUI.hrh" |
|
37 #include "PhoneRssBase.h" |
|
38 #include "CPhoneMainResourceResolver.h" |
|
39 #include "PhoneLogger.h" |
|
40 #include "PhoneUI.pan" |
|
41 #include "TPhoneCmdParamAudioOutput.h" |
|
42 |
|
43 // ================= MEMBER FUNCTIONS ======================= |
|
44 |
|
45 // C++ default constructor can NOT contain any code, that |
|
46 // might leave. |
|
47 // |
|
48 EXPORT_C CPhoneStateCallSetup::CPhoneStateCallSetup( |
|
49 MPhoneStateMachine* aStateMachine, |
|
50 MPhoneViewCommandHandle* aViewCommandHandle, |
|
51 MPhoneCustomization* aCustomization ) : |
|
52 CPhoneState( aStateMachine, aViewCommandHandle, aCustomization ) |
|
53 { |
|
54 } |
|
55 |
|
56 // ----------------------------------------------------------- |
|
57 // CPhoneStateCallSetup::~CPhoneStateCallSetup() |
|
58 // Destructor |
|
59 // (other items were commented in a header). |
|
60 // ----------------------------------------------------------- |
|
61 // |
|
62 EXPORT_C CPhoneStateCallSetup::~CPhoneStateCallSetup() |
|
63 { |
|
64 } |
|
65 |
|
66 // ----------------------------------------------------------- |
|
67 // CPhoneStateCallSetup::ConstructL() |
|
68 // Constructor |
|
69 // (other items were commented in a header). |
|
70 // ----------------------------------------------------------- |
|
71 // |
|
72 EXPORT_C void CPhoneStateCallSetup::ConstructL() |
|
73 { |
|
74 } |
|
75 |
|
76 // ----------------------------------------------------------- |
|
77 // CPhoneStateCallSetup::NewL() |
|
78 // Constructor |
|
79 // (other items were commented in a header). |
|
80 // ----------------------------------------------------------- |
|
81 // |
|
82 CPhoneStateCallSetup* CPhoneStateCallSetup::NewL( |
|
83 MPhoneStateMachine* aStateMachine, |
|
84 MPhoneViewCommandHandle* aViewCommandHandle, |
|
85 MPhoneCustomization* aPhoneCustomization ) |
|
86 { |
|
87 CPhoneStateCallSetup* self = new (ELeave) CPhoneStateCallSetup( |
|
88 aStateMachine, aViewCommandHandle, aPhoneCustomization ); |
|
89 |
|
90 CleanupStack::PushL( self ); |
|
91 self->ConstructL(); |
|
92 CleanupStack::Pop( self ); |
|
93 |
|
94 return self; |
|
95 } |
|
96 |
|
97 // ----------------------------------------------------------- |
|
98 // CPhoneStateCallSetup::HandleCommandL() |
|
99 // ----------------------------------------------------------- |
|
100 // |
|
101 EXPORT_C TBool CPhoneStateCallSetup::HandleCommandL( TInt aCommand ) |
|
102 { |
|
103 } |
|
104 |
|
105 // ----------------------------------------------------------- |
|
106 // CPhoneStateCallSetup::HandleKeyEventL |
|
107 // ----------------------------------------------------------- |
|
108 // |
|
109 EXPORT_C void CPhoneStateCallSetup::HandleKeyEventL( |
|
110 const TKeyEvent& aKeyEvent, |
|
111 TEventCode aEventCode ) |
|
112 { |
|
113 } |
|
114 |
|
115 // ----------------------------------------------------------- |
|
116 // CPhoneStateCallSetup::HandleKeyMessageL |
|
117 // ----------------------------------------------------------- |
|
118 // |
|
119 EXPORT_C void CPhoneStateCallSetup::HandleKeyMessageL( |
|
120 TPhoneKeyEventMessages aMessage, |
|
121 TKeyCode aScanCode ) |
|
122 { |
|
123 } |
|
124 |
|
125 // ----------------------------------------------------------- |
|
126 // CPhoneStateCallSetup::HandlePhoneEngineMessageL |
|
127 // ----------------------------------------------------------- |
|
128 // |
|
129 EXPORT_C void CPhoneStateCallSetup::HandlePhoneEngineMessageL( |
|
130 const TInt aMessage, |
|
131 TInt aCallId ) |
|
132 { |
|
133 } |
|
134 |
|
135 // ----------------------------------------------------------- |
|
136 // CPhoneStateCallSetup::HandleConnectedL |
|
137 // ----------------------------------------------------------- |
|
138 // |
|
139 void CPhoneStateCallSetup::HandleConnectedL( TInt aCallId ) |
|
140 { |
|
141 } |
|
142 |
|
143 // ----------------------------------------------------------- |
|
144 // CPhoneStateCallSetup::HandleIdleL |
|
145 // ----------------------------------------------------------- |
|
146 // |
|
147 void CPhoneStateCallSetup::HandleIdleL( TInt aCallId ) |
|
148 { |
|
149 } |
|
150 |
|
151 // ----------------------------------------------------------------------------- |
|
152 // CPhoneStateCallSetup::HandleAudioOutputChangedL |
|
153 // ----------------------------------------------------------------------------- |
|
154 // |
|
155 void CPhoneStateCallSetup::HandleAudioOutputChangedL() |
|
156 { |
|
157 } |
|
158 |
|
159 void CPhoneStateCallSetup::HandleCreateNumberEntryL(struct TKeyEvent const &, enum TEventCode) |
|
160 {} |
|
161 |
|
162 void CPhoneStateCallSetup::OpenMenuBarL(void) |
|
163 {} |
|
164 |
|
165 void CPhoneStateCallSetup::UpdateCbaL(int) |
|
166 {} |
|
167 |
|
168 void CPhoneStateCallSetup::UpdateInCallCbaL(void) |
|
169 {} |
|
170 |
|
171 void CPhoneStateCallSetup::HandleNumberEntryClearedL(void) |
|
172 {} |