ce7f5b9b18a320c784b5d190a92134dac870a0ff
[apps/osp/Call.git] / inc / CallTypes.h
1 //
2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
3 //
4 // Licensed under the Flora License, Version 1.1 (the License);
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 //     http://floralicense.org/license/
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an AS IS BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 //
16
17 /**
18  * @file                CallTypes.h
19  * @brief               This is the header file provides common constants and enums used across application.
20  *
21  */
22 #ifndef PHNTYPES_H_
23 #define PHNTYPES_H_
24
25 #include "CallCommonUtils.h"
26
27 //bitmap
28 extern const wchar_t* IDB_BTN_OPTION_BG_ICON ;
29 extern const wchar_t* IDB_BTN_OPTION_PRESS_BG_ICON;
30 extern const wchar_t* IDB_BTN_MORE_ICON ;
31 extern const wchar_t* IDB_BTN_MORE_PRESS_ICON ;
32 extern const wchar_t* IDB_POPUP_BUBBLE_ICON ;
33 extern const wchar_t* IDB_DIALER_BTN_LINE_ICON;
34 extern const wchar_t* IDB_DIALER_BTN_PRESS_ICON;
35 extern const wchar_t* IDB_VOICEMAIL_BTN_ICON;
36 extern const wchar_t* IDB_VOICEMAIL_BTN_PRESS_ICON;
37 extern const wchar_t* IDB_DIALER_BTN_LINE2_ICON;
38 extern const wchar_t* IDB_DIALER_BTN_LINE3_ICON;
39 extern const wchar_t* IDB_DIALER_BTN_LINE4_ICON;
40 extern const wchar_t* IDB_DIALER_BTN_LINE5_ICON;
41 extern const wchar_t* IDB_DIALER_STAR_ICON ;
42 extern const wchar_t* IDB_DIALER_MUTE_ICON ;
43 extern const wchar_t* IDB_DIALER_VIDEOCALL_ICON ;
44 extern const wchar_t* IDB_DIALER_CALL_ICON ;
45 extern const wchar_t* IDB_DIALER_CLEAR_ICON ;
46 extern const wchar_t* IDB_DIALER_CALL_BG_ICON ;
47 extern const wchar_t* IDB_HIDE_KEYPAD_ICON;
48 extern const wchar_t* IDB_HIDE_KEYPAD_PRESS_ICON;
49 extern const wchar_t* IDB_HIDE_KEYPAD_DIM_ICON;
50 extern const wchar_t* IDB_CLOSE_KEYPAD_ICON;
51 extern const wchar_t* IDB_CLOSE_KEYPAD_PRESS_ICON;
52 extern const wchar_t* IDB_CLOSE_KEYPAD_DIM_ICON;
53 extern const wchar_t* IDB_SPEAKER_ON_ICON;
54 extern const wchar_t* IDB_SPEAKER_ON_PRESS_ICON;
55 extern const wchar_t* IDB_SPEAKER_ON_DIM_ICON;
56 extern const wchar_t* IDB_SPEAKER_OFF_ICON;
57 extern const wchar_t* IDB_SPEAKER_OFF_PRESS_ICON;
58 extern const wchar_t* IDB_SPEAKER_OFF_DIM_ICON;
59 extern const wchar_t* IDB_MUTE_ON_ICON;
60 extern const wchar_t* IDB_MUTE_ON_PRESS_ICON;
61 extern const wchar_t* IDB_MUTE_ON_DIM_ICON;
62 extern const wchar_t* IDB_MUTE_OFF_ICON;
63 extern const wchar_t* IDB_MUTE_OFF_PRESS_ICON;
64 extern const wchar_t* IDB_MUTE_OFF_DIM_ICON;
65 extern const wchar_t* IDB_BACKGROUND_BITMAP;
66 extern const wchar_t* IDB_VOICE_CALL_ICON;
67 extern const wchar_t* IDB_VOICE_CALL_PRESS_ICON;
68 extern const wchar_t* IDB_VOICE_CALL_DIM_ICON;
69 extern const wchar_t* IDB_VIDEO_CALL_ICON;
70 extern const wchar_t* IDB_VIDEO_CALL_PRESS_ICON;
71 extern const wchar_t* IDB_VIDEO_CALL_DIM_ICON;
72 extern const wchar_t* IDB_MESSAGE_ICON;
73 extern const wchar_t* IDB_MESSAGE_PRESS_ICON;
74 extern const wchar_t* IDB_MESSAGE_DIM_ICON;
75 extern const wchar_t* IDB_END_CALL_ICON;
76 extern const wchar_t* IDB_END_CALL_PRESS_ICON;
77 extern const wchar_t* IDB_END_CALL_DIM_ICON;
78 extern const wchar_t* IDB_ADD_CALL_ICON;
79 extern const wchar_t* IDB_ADD_CALL_PRESS_ICON;
80 extern const wchar_t* IDB_ADD_CALL_DIM_ICON;
81 extern const wchar_t* IDB_JOIN_CALL_ICON;
82 extern const wchar_t* IDB_JOIN_CALL_PRESS_ICON;
83 extern const wchar_t* IDB_JOIN_CALL_DIM_ICON;
84 extern const wchar_t* IDB_CONTACT_ICON;
85 extern const wchar_t* IDB_CONTACT_PRESS_ICON;
86 extern const wchar_t* IDB_CONTACT_DIM_ICON;
87 extern const wchar_t* IDB_SWAP_ICON_NORMAL;
88 extern const wchar_t* IDB_SWAP_ICON_PRESS;
89 extern const wchar_t* IDB_POPUP_ARROW_ICON;
90 extern const wchar_t* IDB_POPUP_BG_ICON;
91 extern const wchar_t* IDB_MORE_MANAGE_CONFERENCE_ICON;
92 extern const wchar_t* IDB_CONFERENCE_BG_ICON;
93 extern const wchar_t* IDB_CONFERENCE_BIG_BG_ICON;
94 extern const wchar_t* IDB_ACTIVE_CALL_DEFAULT_ICON;
95 extern const wchar_t* IDB_MULTIPLE_CALL_DEFAULT_ICON;
96 extern const wchar_t* IDB_KEYPAD_BG;
97 extern const wchar_t* IDB_KEYPAD_BUTTON_PRESS;
98 extern const wchar_t* IDB_KEYPAD_NUM1_ICON;
99 extern const wchar_t* IDB_HOLD_NORMAL_BUTTON_ICON;
100 extern const wchar_t* IDB_HOLD_PRESS_BUTTON_ICON;
101 extern const wchar_t* IDB_UNHOLD_NORMAL_BUTTON_ICON;
102 extern const wchar_t* IDB_UNHOLD_PRESS_BUTTON_ICON;
103 extern const wchar_t* IDB_CALLOG_LIST_BG;
104 extern const wchar_t* IDB_LOG_RECEIVEDCALL_ICON;
105 extern const wchar_t* IDB_LOG_DIALEDCALL_ICON;
106 extern const wchar_t* IDB_LOG_MISSEDCALL_ICON;
107 extern const wchar_t* IDB_LOG_BLOCKEDCALL_ICON;
108 extern const wchar_t* IDB_LOG_DETAIL_CALL_ICON;
109 extern const wchar_t* IDB_LOG_DETAIL_MSG_ICON;
110 extern const wchar_t* IDB_LOG_NO_CONTENT;
111 extern const wchar_t* IDB_VIEW_CONTACT_ICON;
112 extern const wchar_t* IDB_VIEW_CONTACT_PRESS_ICON;
113 extern const wchar_t* IDB_VIEW_CONTACT_BG_ICON;
114 extern const wchar_t* IDB_VIEW_CONTACT_BG_PRESS_ICON;
115 extern const wchar_t* IDB_CALL_THUMBNAIL_BACKGROUND;
116 extern const wchar_t* IDB_CALL_THUMBNAIL_SHADOW;
117
118
119
120 //String messages
121 extern const wchar_t* IDS_DIALER_MOBILE_STR;
122 extern const wchar_t* IDS_DIALER_SPEEDDIAL_POPUP_MSG;
123 extern const wchar_t* IDS_SPEEDDIAL_POP_YES_BTN_STRING;
124 extern const wchar_t* IDS_SPEEDDIAL_POP_NO_BTN_STRING;
125 extern const wchar_t* IDS_DIALER_MENU_ITEM_SEND_MSG;
126 extern const wchar_t* IDS_DIALER_MENU_ITEM_ADD_CONTACT;
127 extern const wchar_t* IDS_DIALER_MENU_ITEM_SPEED_DIAL;
128 extern const wchar_t* IDS_DIALER_MENU_ITEM_ADD_PAUSE;
129 extern const wchar_t* IDS_DIALER_MENU_ITEM_ADD_WAIT;
130 extern const wchar_t* IDS_DIALER_MENU_ITEM_EXIT;
131 extern const wchar_t* IDS_SPEED_DIAL_SEARCH_KEY;
132 extern const wchar_t* IDS_KEYPAD_BTN_NAME;
133 extern const wchar_t* IDS_SPEAKER_BTN_NAME;
134 extern const wchar_t* IDS_MUTE_BTN_NAME;
135 extern const wchar_t* IDS_VOICE_CALL_BTN_NAME;
136 extern const wchar_t* IDS_VIDEO_CALL_BTN_NAME;
137 extern const wchar_t* IDS_MSG_BTN_NAME;
138 extern const wchar_t* IDS_ENDCALL_BTN_NAME;
139 extern const wchar_t* IDS_ADDCALL_BTN_NAME;
140 extern const wchar_t* IDS_JOINCALL_BTN_NAME;
141 extern const wchar_t* IDS_CONTACT_BTN_NAME;
142 extern const wchar_t* IDS_HOLD_BTN_NAME;
143 extern const wchar_t* IDS_UNHOLD_BTN_NAME;
144 extern const wchar_t* IDS_PEOPLE_STR;
145 extern const wchar_t* IDS_MGR_CONF_CALL_LIST_STR;
146 extern const wchar_t* IDS_LOG_CONTEXT_CALL;
147 extern const wchar_t* IDS_LOG_CONTEXT_MESSAGE;
148 extern const wchar_t* IDS_LOG_CONTEXT_VIDEOCALL;
149 extern const wchar_t* IDS_LOG_CONTEXT_DELETE;
150 extern const wchar_t* IDS_AM_TIME;
151 extern const wchar_t* IDS_PM_TIME;
152 extern const wchar_t* IDS_CALLLOG_NO_NAME;
153 extern const wchar_t* IDS_CALLLOG_NO_NUMBER;
154 extern const wchar_t* IDS_CALLLOG_RECEIVED;
155 extern const wchar_t* IDS_CALLLOG_MISSED;
156 extern const wchar_t* IDS_CALLLOG_OUTGOING;
157 extern const wchar_t* IDS_CALLLOG_RECEIVED_MSG;
158 extern const wchar_t* IDS_CALLLOG_SENT_MSG;
159 extern const wchar_t* IDS_CALLLOG_REJECTED;
160 extern const wchar_t* IDS_CALLLOG_DELETE_FOOTER;
161 extern const wchar_t* IDS_CALLLOG_CANCEL_FOOTER;
162 extern const wchar_t* IDS_EMERGENCY_CALL;
163 extern const wchar_t* IDS_SELECT_CALL_LOG ;
164 extern const wchar_t* IDS_SELECTED_ITEM_STRING;
165 extern const wchar_t* IDS_SELECTED_ITEMS_STRING;
166 extern const wchar_t* IDS_SELECT_NUMBER;
167 extern const wchar_t* IDS_NUMBER_SELECTED;
168 extern const wchar_t* IDS_NUMBERS_SELECTED;
169 extern const wchar_t* IDS_SELECT_MESSAGE;
170 extern const wchar_t* IDS_MESSAGE_SELECTED;
171 extern const wchar_t* IDS_MESSAGES_SELECTED;
172 extern const wchar_t* IDS_NO_LOGS;
173 extern const wchar_t* IDS_FLIGHT_MODE_ON;
174 extern const wchar_t* IDS_ADD_TO_CONTACTS;
175 extern const wchar_t* IDS_TIMER_ON_HOLD;
176 extern const wchar_t* IDS_CANCEL;
177 extern const wchar_t* IDS_LOGS_TODAY;
178 extern const wchar_t* IDS_LOGS_YESTERDAY;
179 extern const wchar_t* IDS_REJECT_MESSAGE_CREATE;
180 extern const wchar_t* IDS_VIEW_CONTACT;
181 extern const wchar_t* IDS_INVALID_NUMBER;
182 extern const wchar_t* IDS_NUMBER_UNKNOWN;
183 extern const wchar_t* IDS_GPRS_NUMBER;
184 //Panel
185 extern const wchar_t* PANEL_DIALER;
186 extern const wchar_t* PANEL_LOGS;
187
188 //Corresponding Call form name
189 extern const wchar_t* IDL_FORM_OUTCALL;
190 extern const wchar_t* IDL_FORM_OUT_EMERGENCYCALL;
191 extern const wchar_t* IDL_FORM_INCOMINGCALL;
192 extern const wchar_t* IDL_FORM_ACTIVECALL;
193 extern const wchar_t* IDL_FORM_ACTIVE_EMERGENCYCALL;
194 extern const wchar_t* IDL_FORM_CONFCALL;
195 extern const wchar_t* IDL_FORM_CONFCALLLIST;
196 extern const wchar_t* IDL_FORM_ENDCALL;
197 extern const wchar_t* IDL_FORM_MULTIPLEACTIVECALL;
198 //Corresponding Settings form name
199 extern const wchar_t* IDL_FORM_SETTINGS_PREFIX;
200 extern const wchar_t* IDL_FORM_MAIN_SETTING_MENU;
201 extern const wchar_t* IDL_FORM_CALL_REJECTLIST_MENU;
202 extern const wchar_t* IDL_FORM_CALL_REJECTMSGS_MENU;
203 extern const wchar_t* IDL_FORM_SPEED_DIAL;
204 extern const wchar_t* IDL_FORM_MORE_OPTIONS;
205 extern const wchar_t* IDL_FORM_CALL_STATUSTONES;
206 extern const wchar_t* IDL_FORM_CALLTYPE_FORWARD;
207 extern const wchar_t* IDL_FORM_CALL_FORWARD_OPTIONS;
208 extern const wchar_t* IDL_FORM_CALLTYPE_BARRING;
209 extern const wchar_t* IDL_FORM_CALL_BARRING_OPTIONS;
210 extern const wchar_t* IDL_FORM_CALL_WAITING_OPTIONS;
211 extern const wchar_t* IDL_FORM_ADD_REJECT_NUMBER;
212 extern const wchar_t* IDL_FORM_AUTO_AREA_CODE;
213 extern const wchar_t* IDL_FORM_ADD_REJECT_MSG;
214 extern const wchar_t* IDL_FORM_EDIT_REJECT_MSG;
215 extern const wchar_t* IDL_FORM_FORWARD_TO_NUMBER;
216 extern const wchar_t* IDL_FORM_NOREPLY_FORWARD_TO_NUMBER;
217 extern const wchar_t* IDL_FORM_SCENE_SET_BARRING_PWD;
218 extern const wchar_t* IDL_FORM_DEL_NUMBER;
219 extern const wchar_t* IDL_FORM_DEL_MESSAGE;
220 //Dialer & Call Log Form names
221 extern const wchar_t* IDL_FORM_DIAL_APP;
222 extern const wchar_t* IDL_FORM_CALL_LOG_DETAIL;
223 extern const wchar_t* IDL_CALL_PANEL;
224 extern const wchar_t* IDL_END_CALL_PANEL;
225 extern const wchar_t* IDL_OUTCALL_FORM;
226 extern const wchar_t* IDL_OUT_EMERGENCYCALL_FORM;
227 extern const wchar_t* IDL_CALL_FORM;
228 extern const wchar_t* IDL_EMERGENCY_CALL_FORM;
229 extern const wchar_t* IDL_MULTIPLE_CALL_FORM;
230 extern const wchar_t* IDL_CONFCALL_FORM;
231 extern const wchar_t* IDL_DTMF_PANEL;
232 extern const wchar_t* IDL_DTMF_KEYS_PANEL;
233 extern const wchar_t* IDL_DIALER_KEYPAD_PANEL;
234 extern const wchar_t* IDL_FORM_EMERGENCY_DIAL;
235
236 //Constants - Call Scene name
237 extern const wchar_t* IDSCN_SCENE_OUTCALL;
238 extern const wchar_t* IDSCN_SCENE_OUT_EMERGENCYCALL;
239 extern const wchar_t* IDSCN_SCENE_INCOMINGCALL;
240 extern const wchar_t* IDSCN_SCENE_ACTIVECALL;
241 extern const wchar_t* IDSCN_SCENE_ACTIVE_EMERGENCYCALL;
242 extern const wchar_t* IDSCN_SCENE_CONFCALL;
243 extern const wchar_t* IDSCN_SCENE_CONFCALLLIST;
244 extern const wchar_t* IDSCN_SCENE_ENDCALL;
245 extern const wchar_t* IDSCN_SCENE_MULTIPLEACTIVECALL;
246 //Constants - Settings Scene name
247 extern const wchar_t* IDSCN_SCENE_MAIN_SETTING_MENU;
248 extern const wchar_t* IDSCN_SCENE_CALL_REJECTLIST_MENU;
249 extern const wchar_t* IDSCN_SCENE_CALL_REJECTMSGS_MENU;
250 extern const wchar_t* IDSCN_SCENE_SPEED_DIAL;
251 extern const wchar_t* IDSCN_SCENE_MORE_OPTIONS;
252 extern const wchar_t* IDSCN_SCENE_CALL_STATUSTONES;
253 extern const wchar_t* IDSCN_SCENE_CALLTYPE_FORWARD;
254 extern const wchar_t* IDSCN_SCENE_CALL_FORWARD_OPTIONS;
255 extern const wchar_t* IDSCN_SCENE_CALLTYPE_BARRING;
256 extern const wchar_t* IDSCN_SCENE_CALL_BARRING_OPTIONS;
257 extern const wchar_t* IDSCN_SCENE_CALL_WAITING_OPTIONS;
258 extern const wchar_t* IDSCN_SCENE_ADD_REJECT_NUMBER;
259 extern const wchar_t* IDSCN_SCENE_AUTO_AREA_CODE;
260 extern const wchar_t* IDSCN_SCENE_ADD_REJECT_MSG;
261 extern const wchar_t* IDSCN_SCENE_EDIT_REJECT_MSG;
262 extern const wchar_t* IDSCN_SCENE_FORWARD_TO_NUMBER;
263 extern const wchar_t* IDSCN_SCENE_NOREPLY_FORWARD_TO_NUMBER;
264 extern const wchar_t* IDSCN_SCENE_SET_BARRING_PWD;
265 extern const wchar_t* IDSCN_SCENE_DEL_NUMBER;
266 extern const wchar_t* IDSCN_SCENE_DEL_MESSAGE;
267 //Dialer & Call Log Scene names
268 extern const wchar_t* IDSCN_DIALER;
269 extern const wchar_t* IDSCN_CALL_LOG;
270 extern const wchar_t* IDSCN_CALL_LOG_DETAILS;
271 extern const wchar_t* IDSCN_EMERGENCY_DIAL;
272
273 extern const wchar_t* TYPE_VIDEO;
274 extern const wchar_t* TYPE_VOICE;
275 extern const wchar_t* TYPE_SMS;
276 extern const wchar_t* TEL;
277 extern const wchar_t* TO;
278
279 extern const wchar_t* OPERATION_ID_PICK;
280 extern const wchar_t* OPERATION_ID_VIEW;
281 extern const wchar_t* OPERATION_ID_ADD;
282 extern const wchar_t* OPERATION_ID_EDIT;
283 extern const wchar_t* OPERATION_ID_CONFIGURE;
284 extern const wchar_t* OPERATION_ID_CAPTURE;
285 extern const wchar_t* OPERATION_ID_CALL;
286 extern const wchar_t* OPERATION_ID_COMPOSE;
287 extern const wchar_t* OPERATION_ID_DIAL;
288 extern const wchar_t* OPERATION_ID_HOME_MENU;
289
290 extern const wchar_t* PROVIDER_ID_CAMERA;
291 extern const wchar_t* PROVIDER_ID_GALLERY;
292 extern const wchar_t* PROVIDER_ID_CALL;
293 extern const wchar_t* PROVIDER_ID_MESSAGE;
294 extern const wchar_t* PROVIDER_ID_EMAIL;
295 extern const wchar_t* PROVIDER_ID_MEDIA;
296 extern const wchar_t* PROVIDER_ID_CONTACTS;
297 extern const wchar_t* PROVIDER_ID_PHONE;
298
299 extern const wchar_t* RETURN_TYPE_PHONE;
300 extern const wchar_t* RETURN_TYPE_EMAIL;
301 extern const wchar_t* RETURN_TYPE_CONTACT_ID;
302
303 extern const wchar_t* DELIMITER;
304 extern const wchar_t* LAUNCHTYPE;
305 extern const wchar_t* PARAM_ORIGIN_MT;
306 extern const wchar_t* CALL_HANDLE;
307 extern const wchar_t* CONTACT_NUMBER;
308 extern const wchar_t* PARAM_CALL_TYPE;
309 extern const wchar_t* PARAM_CALL_VALUE_VOICE;
310 extern const wchar_t* PARAM_PHONE_NUMBER;
311 extern const wchar_t* INPUT_TYPE_PHONE;
312 extern const wchar_t* MESSAGE_TYPE;
313 extern const wchar_t* MESSAGE_SMS_TYPE;
314 extern const wchar_t* MESSAGE_TEXT;
315 extern const wchar_t* MESSAGE_TO;
316 //Contacts app control parameters
317 extern const wchar_t* CONTACTS_VIEW_TYPE;
318 extern const wchar_t* CONTACTS_VIEW_TYPE_CONTACT;
319 extern const wchar_t* ITEM_TYPE_CONTACT ;
320 extern const wchar_t* CONTACTS_ID_KEY;
321 extern const wchar_t* ITEM_TYPE_PERSON ;
322 extern const wchar_t* CONTACT_KEY_ITEM_TYPE ;
323 extern const wchar_t* CONTACT_KEY_ITEM_ID ;
324
325
326 extern const wchar_t* SELECTION_MODE;
327 extern const wchar_t* RETURN_TYPE;
328 extern const wchar_t* SELECTION_MODE_SINGLE;
329 extern const wchar_t* RETURN_KEY_VALUE;
330
331 //Settings Strings
332 extern const wchar_t* SETTINGS_FLIGHT_MODE_STR;
333 //Voice Call- Common Command Ids
334 enum CommandIds
335 {
336         IDA_ADD_CALL = DIAL_CMD_TOTAL_COUNT+1,
337         IDA_JOIN_CALL,
338         IDA_OPEN_CONTACTS,
339         IDA_HOLD_CALL,
340         IDA_UNHOLD_CALL,
341         IDA_MUTE,
342         IDA_UNMUTE,
343         IDA_SPEAKER,
344         IDA_SPEAKER_OFF,
345         IDA_OPEN_NUMKEYPAD,
346         IDA_CLOSE_NUMKEYPAD,
347         IDA_END_CALL,
348         IDA_SHOW_REJECT_CALL_MESSAGE_PANEL, //Show the reject with message panel
349         IDA_CANCEL_REJECT_CALL_MESSAGE_PANEL,//Cancel the reject with message panel
350         IDA_CREATE_REJECT_CALL_MESSAGE,//Reject the call with new message
351         IDA_VOICE_CALL,
352         IDA_VIDEO_CALL,
353         IDA_MESSAGE,
354         IDA_END_CONF_CALL,
355         IDA_HOLD_CONF_CALL,
356         IDA_UNHOLD_CONF_CALL,
357         IDA_ADD_TO_CONTACTS, //add current contact to AddressBook
358         IDA_BACK_EVENT,
359         IDA_SWAP_CALLS,
360         IDA_MORE_OPTIONS_MENU,
361         IDA_MORE_CONF_CALLLIST_OPTION,
362         IDA_SEND_REJECT_MSG1,
363         IDA_SEND_REJECT_MSG2,
364         IDA_SEND_REJECT_MSG3,
365         IDA_SEND_REJECT_MSG4,
366         IDA_SEND_REJECT_MSG5,
367         IDA_SEND_REJECT_MSG6,
368         IDA_CALL_WAITING_OPTION_CHECKED,
369         IDA_CALL_WAITING_OPTION_UNCHECKED,
370         IDA_TOTAL_CMD_IDS,
371 };
372
373 //Command Ids for Ending Caller in Conference list.
374 enum EndConfCallerCmdIds
375 {
376         IDA_END_CALLER1 = IDA_TOTAL_CMD_IDS + 1,
377         IDA_END_CALLER2,
378         IDA_END_CALLER3,
379         IDA_END_CALLER4,
380         IDA_END_CALLER5,
381         IDA_TOTAL_ENDCONFCALLER_CMD_IDS,
382 };
383
384 enum SplitConfCallerCmdIds
385 {
386         IDA_SPLIT_CALLER1 = IDA_TOTAL_ENDCONFCALLER_CMD_IDS + 1,
387         IDA_SPLIT_CALLER2,
388         IDA_SPLIT_CALLER3,
389         IDA_SPLIT_CALLER4,
390         IDA_SPLIT_CALLER5,
391         IDA_TOTAL_SPLITCONFCALLER_CMD_IDS,
392 };
393
394 enum CallAnsweringOptions
395 {
396         ANSERWING_OPTION_HOLD_SINGLE_CALL = 503,//Hold previous call and accept incoming call.
397         ANSERWING_OPTION_END_SINGLE_CALL,//End previous call and accept incoming call.
398         ANSERWING_OPTION_REPLACE_ACTIVE_CALL,//Replace previous active call with incoming call.
399         ANSERWING_OPTION_REPLACE_HELD_CALL,//Replace previous held call with incoming call.
400         ANSERWING_OPTION_END_ALL_CALLS,//end all previous calls and accept incoming.
401         ANSERWING_OPTION_ACCEPT_CALL,//no previous active calls present
402 };
403
404 enum SoundMode
405 {
406         SOUND_MODE_VOICE = 0,
407         SOUND_MODE_RINGTONE,
408         SOUND_MODE_MEDIA
409 };
410
411 //Type of the call (incoming, outgoing etc for call log database
412 enum CallLogType
413 {
414         CALL_LOG_TYPE_VOICE_INCOMING,
415         CALL_LOG_TYPE_VOICE_OUTGOING,
416         CALL_LOG_TYPE_VOICE_MISSED,
417         CALL_LOG_TYPE_VOICE_MISSED_UNSEEN,
418         CALL_LOG_TYPE_VOICE_REJECTED,
419         CALL_LOG_TYPE_VOICE_BLOCKED,
420         CALL_LOG_TYPE_SMS_INCOMING,
421         CALL_LOG_TYPE_SMS_OUTGOING,
422 };
423
424 //Error code to handle error scenarios
425 enum ErrorCodes
426 {
427         ERROR_NONE,
428         ERROR_INVALID_INPUT,
429         ERROR_DIAL_FAILED,
430         ERROR_INVALID_NUMBER,
431         ERROR_REJECT_FAILED,
432         ERROR_JOIN_FAILED,
433         ERROR_SWAP_FAILED,
434         ERROR_END_CALL_FAILED,
435         ERROR_END_FROM_CONFERENCE_FAILED,
436         ERROR_SPLIT_FROM_CONFERENCE_FAILED,
437         ERROR_CODE_SIM_INITIALIZATION_FAILED,
438         ERROR_NOT_EMERGENCY_NUM,
439         ERROR_TAPI_INIT_FAILED,
440         ERROR_TAPI_ERROR,
441         ERROR_BARRING_PWD_TOO_LONG,
442         ERROR_FLIGHT_MODE_SET,
443         ERROR_GENERAL,
444         ERROR_GPRS_NUMBER,
445 };
446
447 enum DialerRequestType
448 {
449         REQUEST_SHOW_SUGGESTION,
450         REQUEST_SHOW_ADD_TO_CONTACTS,
451         REQUEST_SHOW_SPEED_DIAL_POPUP,
452         REQUEST_CALL_SPEED_DIAL_NUM,
453 };
454
455 enum IncomingCallFormRequestType
456 {
457         REQUEST_ITEM_SELECTED,
458 };
459
460
461 //Dimensions for Small photo of caller/callee.
462 extern const int W_SMALL_PHOTO;
463 extern const int H_SMALL_PHOTO;
464 extern const int W_CONFERENCE_PHOTO;
465 extern const int H_CONFERENCE_PHOTO;
466 extern const int W_CALL_THUMBNAIL;
467 extern const int H_CALL_THUMBNAIL;
468 extern const int W_CALL_THUMBNAIL_SHADOW;
469 extern const int H_CALL_THUMBNAIL_SHADOW;
470
471 //Maximum number of calls
472 extern const int IDI_MAX_ACTIVE_CALLS;
473 extern const int IDI_MAX_CONF_CALL_PARTICIPANTS;
474 //Constants used for custom list item in message panel in Incoming call screen
475 extern const int IDA_FORMAT_SENDTEXT;
476 extern const int IDA_BUTTON_CANCEL_OPTIONS_POPUP;
477 extern const int ID_MULTI_PARTY_CALL;
478 extern const int ID_SECOND_INCOMING_CALL;
479 //Constants
480 extern const wchar_t* IDI_KEY2_TXT;
481 extern const wchar_t* IDI_KEY3_TXT;
482 extern const wchar_t* IDI_KEY4_TXT;
483 extern const wchar_t* IDI_KEY5_TXT;
484 extern const wchar_t* IDI_KEY6_TXT;
485 extern const wchar_t* IDI_KEY7_TXT;
486 extern const wchar_t* IDI_KEY8_TXT;
487 extern const wchar_t* IDI_KEY9_TXT;
488
489 #endif /* PHNTYPES_H_ */