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