59 TInt aCallId ); |
59 TInt aCallId ); |
60 |
60 |
61 /** |
61 /** |
62 * Handles user selected UI commands. |
62 * Handles user selected UI commands. |
63 * @param aCommand - selected command |
63 * @param aCommand - selected command |
64 */ |
64 */ |
65 TBool HandleCommandL( TInt aCommand ); |
65 TBool HandleCommandL( TInt aCommand ); |
|
66 |
|
67 /** |
|
68 * This function is called from displaycallsetup and |
|
69 * the purpose is to do state specific things for callsetup. |
|
70 */ |
|
71 IMPORT_C virtual void DoStateSpecificCallSetUpDefinitionsL(); |
66 |
72 |
67 protected: |
73 protected: |
68 |
74 |
69 /** |
75 /** |
70 * By default constructor is private. |
76 * By default constructor is private. |
94 */ |
100 */ |
95 virtual void HandleKeyMessageL( |
101 virtual void HandleKeyMessageL( |
96 TPhoneKeyEventMessages aMessage, |
102 TPhoneKeyEventMessages aMessage, |
97 TKeyCode aCode ); |
103 TKeyCode aCode ); |
98 |
104 |
99 virtual void HandleKeyEventL( |
105 /** |
100 const TKeyEvent& aKeyEvent, |
106 * Opens menu bar. |
101 TEventCode aEventCode ); |
107 */ |
|
108 virtual void OpenMenuBarL(); |
102 |
109 |
103 /** |
110 /** |
104 * Sets correct in call CBAs. |
111 * Sets correct in call CBAs. |
105 */ |
112 */ |
106 virtual void UpdateInCallCbaL(); |
113 virtual void UpdateInCallCbaL(); |
107 |
114 |
108 |
115 |
109 private: |
116 private: |
110 |
117 |
111 /** |
118 /** |
112 * Unholds the call. |
119 * Unholds the call. |
113 * @param aCallId - call id to unhold |
120 * @param aCallId - call id to unhold |
114 */ |
121 */ |
115 void HandleUnholdL( TInt aCallId ); |
122 void HandleUnholdL( TInt aCallId ); |
116 |
123 |
117 /** |
124 /** |
118 * Performs a state transition to Two Singles. |
125 * Performs a state transition to Two Singles. |
119 * @param aCallId - call id that got connected |
126 * @param aCallId - call id that got connected |
120 */ |
127 */ |
121 void MakeStateTransitionToTwoSinglesL( TInt aCallId ); |
128 void MakeStateTransitionToTwoSinglesL( TInt aCallId ); |
122 |
129 |
123 /** |
130 /** |
124 * Handles received idle message from Phone Engine. |
131 * Handles received idle message from Phone Engine. |
125 * @param aCallId - call id that received the event |
132 * @param aCallId - call id that received the event |
137 * @param aCallId - call id that received the event |
144 * @param aCallId - call id that received the event |
138 */ |
145 */ |
139 void HandleConnectedL( TInt aCallId ); |
146 void HandleConnectedL( TInt aCallId ); |
140 |
147 |
141 /** |
148 /** |
|
149 * Fetches phone number from new call quoery and dials that number. |
|
150 */ |
|
151 void CallFromNewCallQueryL(); |
|
152 |
|
153 /** |
142 * Handles received dialing message from Phone Engine. |
154 * Handles received dialing message from Phone Engine. |
143 * @param aCallId - call id that received the event |
155 * @param aCallId - call id that received the event |
144 */ |
156 */ |
145 void HandleDiallingL( TInt aCallId ); |
157 void HandleDialingL( TInt aCallId ); |
146 |
|
147 /** |
|
148 * Sets up all call setup to display. |
|
149 * @param aCallId - call id to set up |
|
150 */ |
|
151 void DisplayCallSetupL( TInt aCallId ); |
|
152 |
158 |
153 /** |
159 /** |
154 * Handles received EPEMessageDisconnecting message from Phone Engine. |
160 * Handles received EPEMessageDisconnecting message from Phone Engine. |
155 * @param aCallId: the call id of the call |
161 * @param aCallId: the call id of the call |
156 */ |
162 */ |
157 void HandleDisconnectingL( TInt aCallId ); |
163 void HandleDisconnectingL( TInt aCallId ); |
158 |
|
159 /** |
|
160 * Handles received EPhoneCmdUpdateUiControls command. |
|
161 */ |
|
162 void UpdateUiControlsL(); |
|
163 |
164 |
164 private: //Data |
165 private: //Data |
165 |
166 |
166 // Store single call id |
167 // Store single call id |
167 TInt iSingleCallId; |
168 TInt iSingleCallId; |