4823829b31902ef469afd4416b5ee7aa5fccaaab
[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_USSD_NUMBER;
184 extern const wchar_t* IDS_CONFERENCE_CALL_STRING;
185 //Panel
186 extern const wchar_t* PANEL_DIALER;
187 extern const wchar_t* PANEL_LOGS;
188
189 //Corresponding Call form name
190 extern const wchar_t* IDL_FORM_OUTCALL;
191 extern const wchar_t* IDL_FORM_OUT_EMERGENCYCALL;
192 extern const wchar_t* IDL_FORM_INCOMINGCALL;
193 extern const wchar_t* IDL_FORM_ACTIVECALL;
194 extern const wchar_t* IDL_FORM_ACTIVE_EMERGENCYCALL;
195 extern const wchar_t* IDL_FORM_CONFCALL;
196 extern const wchar_t* IDL_FORM_CONFCALLLIST;
197 extern const wchar_t* IDL_FORM_ENDCALL;
198 extern const wchar_t* IDL_FORM_MULTIPLEACTIVECALL;
199 //Corresponding Settings form name
200 extern const wchar_t* IDL_FORM_SETTINGS_PREFIX;
201 extern const wchar_t* IDL_FORM_MAIN_SETTING_MENU;
202 extern const wchar_t* IDL_FORM_CALL_REJECTLIST_MENU;
203 extern const wchar_t* IDL_FORM_CALL_REJECTMSGS_MENU;
204 extern const wchar_t* IDL_FORM_SPEED_DIAL;
205 extern const wchar_t* IDL_FORM_MORE_OPTIONS;
206 extern const wchar_t* IDL_FORM_CALL_STATUSTONES;
207 extern const wchar_t* IDL_FORM_CALLTYPE_FORWARD;
208 extern const wchar_t* IDL_FORM_CALL_FORWARD_OPTIONS;
209 extern const wchar_t* IDL_FORM_CALLTYPE_BARRING;
210 extern const wchar_t* IDL_FORM_CALL_BARRING_OPTIONS;
211 extern const wchar_t* IDL_FORM_CALL_WAITING_OPTIONS;
212 extern const wchar_t* IDL_FORM_ADD_REJECT_NUMBER;
213 extern const wchar_t* IDL_FORM_AUTO_AREA_CODE;
214 extern const wchar_t* IDL_FORM_ADD_REJECT_MSG;
215 extern const wchar_t* IDL_FORM_EDIT_REJECT_MSG;
216 extern const wchar_t* IDL_FORM_FORWARD_TO_NUMBER;
217 extern const wchar_t* IDL_FORM_NOREPLY_FORWARD_TO_NUMBER;
218 extern const wchar_t* IDL_FORM_SCENE_SET_BARRING_PWD;
219 extern const wchar_t* IDL_FORM_DEL_NUMBER;
220 extern const wchar_t* IDL_FORM_DEL_MESSAGE;
221 //Dialer & Call Log Form names
222 extern const wchar_t* IDL_FORM_DIAL_APP;
223 extern const wchar_t* IDL_FORM_CALL_LOG_DETAIL;
224 extern const wchar_t* IDL_CALL_PANEL;
225 extern const wchar_t* IDL_END_CALL_PANEL;
226 extern const wchar_t* IDL_OUTCALL_FORM;
227 extern const wchar_t* IDL_OUT_EMERGENCYCALL_FORM;
228 extern const wchar_t* IDL_CALL_FORM;
229 extern const wchar_t* IDL_EMERGENCY_CALL_FORM;
230 extern const wchar_t* IDL_MULTIPLE_CALL_FORM;
231 extern const wchar_t* IDL_CONFCALL_FORM;
232 extern const wchar_t* IDL_DTMF_PANEL;
233 extern const wchar_t* IDL_DTMF_KEYS_PANEL;
234 extern const wchar_t* IDL_DIALER_KEYPAD_PANEL;
235 extern const wchar_t* IDL_FORM_EMERGENCY_DIAL;
236
237 //Constants - Call Scene name
238 extern const wchar_t* IDSCN_SCENE_OUTCALL;
239 extern const wchar_t* IDSCN_SCENE_OUT_EMERGENCYCALL;
240 extern const wchar_t* IDSCN_SCENE_INCOMINGCALL;
241 extern const wchar_t* IDSCN_SCENE_ACTIVECALL;
242 extern const wchar_t* IDSCN_SCENE_ACTIVE_EMERGENCYCALL;
243 extern const wchar_t* IDSCN_SCENE_CONFCALL;
244 extern const wchar_t* IDSCN_SCENE_CONFCALLLIST;
245 extern const wchar_t* IDSCN_SCENE_ENDCALL;
246 extern const wchar_t* IDSCN_SCENE_MULTIPLEACTIVECALL;
247 //Constants - Settings Scene name
248 extern const wchar_t* IDSCN_SCENE_MAIN_SETTING_MENU;
249 extern const wchar_t* IDSCN_SCENE_CALL_REJECTLIST_MENU;
250 extern const wchar_t* IDSCN_SCENE_CALL_REJECTMSGS_MENU;
251 extern const wchar_t* IDSCN_SCENE_SPEED_DIAL;
252 extern const wchar_t* IDSCN_SCENE_MORE_OPTIONS;
253 extern const wchar_t* IDSCN_SCENE_CALL_STATUSTONES;
254 extern const wchar_t* IDSCN_SCENE_CALLTYPE_FORWARD;
255 extern const wchar_t* IDSCN_SCENE_CALL_FORWARD_OPTIONS;
256 extern const wchar_t* IDSCN_SCENE_CALLTYPE_BARRING;
257 extern const wchar_t* IDSCN_SCENE_CALL_BARRING_OPTIONS;
258 extern const wchar_t* IDSCN_SCENE_CALL_WAITING_OPTIONS;
259 extern const wchar_t* IDSCN_SCENE_ADD_REJECT_NUMBER;
260 extern const wchar_t* IDSCN_SCENE_AUTO_AREA_CODE;
261 extern const wchar_t* IDSCN_SCENE_ADD_REJECT_MSG;
262 extern const wchar_t* IDSCN_SCENE_EDIT_REJECT_MSG;
263 extern const wchar_t* IDSCN_SCENE_FORWARD_TO_NUMBER;
264 extern const wchar_t* IDSCN_SCENE_NOREPLY_FORWARD_TO_NUMBER;
265 extern const wchar_t* IDSCN_SCENE_SET_BARRING_PWD;
266 extern const wchar_t* IDSCN_SCENE_DEL_NUMBER;
267 extern const wchar_t* IDSCN_SCENE_DEL_MESSAGE;
268 //Dialer & Call Log Scene names
269 extern const wchar_t* IDSCN_DIALER;
270 extern const wchar_t* IDSCN_CALL_LOG;
271 extern const wchar_t* IDSCN_CALL_LOG_DETAILS;
272 extern const wchar_t* IDSCN_EMERGENCY_DIAL;
273
274 extern const wchar_t* TYPE_VIDEO;
275 extern const wchar_t* TYPE_VOICE;
276 extern const wchar_t* TYPE_SMS;
277 extern const wchar_t* TEL;
278 extern const wchar_t* TO;
279
280 extern const wchar_t* OPERATION_ID_PICK;
281 extern const wchar_t* OPERATION_ID_VIEW;
282 extern const wchar_t* OPERATION_ID_ADD;
283 extern const wchar_t* OPERATION_ID_EDIT;
284 extern const wchar_t* OPERATION_ID_CONFIGURE;
285 extern const wchar_t* OPERATION_ID_CAPTURE;
286 extern const wchar_t* OPERATION_ID_CALL;
287 extern const wchar_t* OPERATION_ID_COMPOSE;
288 extern const wchar_t* OPERATION_ID_DIAL;
289 extern const wchar_t* OPERATION_ID_HOME_MENU;
290
291 extern const wchar_t* PROVIDER_ID_CAMERA;
292 extern const wchar_t* PROVIDER_ID_GALLERY;
293 extern const wchar_t* PROVIDER_ID_CALL;
294 extern const wchar_t* PROVIDER_ID_MESSAGE;
295 extern const wchar_t* PROVIDER_ID_EMAIL;
296 extern const wchar_t* PROVIDER_ID_MEDIA;
297 extern const wchar_t* PROVIDER_ID_CONTACTS;
298 extern const wchar_t* PROVIDER_ID_PHONE;
299
300 extern const wchar_t* RETURN_TYPE_PHONE;
301 extern const wchar_t* RETURN_TYPE_EMAIL;
302 extern const wchar_t* RETURN_TYPE_CONTACT_ID;
303
304 extern const wchar_t* DELIMITER;
305 extern const wchar_t* LAUNCHTYPE;
306 extern const wchar_t* PARAM_ORIGIN_MT;
307 extern const wchar_t* CALL_HANDLE;
308 extern const wchar_t* CONTACT_NUMBER;
309 extern const wchar_t* PARAM_CALL_TYPE;
310 extern const wchar_t* PARAM_CALL_VALUE_VOICE;
311 extern const wchar_t* PARAM_PHONE_NUMBER;
312 extern const wchar_t* INPUT_TYPE_PHONE;
313 extern const wchar_t* MESSAGE_TYPE;
314 extern const wchar_t* MESSAGE_SMS_TYPE;
315 extern const wchar_t* MESSAGE_TEXT;
316 extern const wchar_t* MESSAGE_TO;
317 //Contacts app control parameters
318 extern const wchar_t* CONTACTS_VIEW_TYPE;
319 extern const wchar_t* CONTACTS_VIEW_TYPE_CONTACT;
320 extern const wchar_t* ITEM_TYPE_CONTACT ;
321 extern const wchar_t* CONTACTS_ID_KEY;
322 extern const wchar_t* ITEM_TYPE_PERSON ;
323 extern const wchar_t* CONTACT_KEY_ITEM_TYPE ;
324 extern const wchar_t* CONTACT_KEY_ITEM_ID ;
325
326
327 extern const wchar_t* SELECTION_MODE;
328 extern const wchar_t* RETURN_TYPE;
329 extern const wchar_t* SELECTION_MODE_SINGLE;
330 extern const wchar_t* RETURN_KEY_VALUE;
331
332 //Settings Strings
333 extern const wchar_t* SETTINGS_FLIGHT_MODE_STR;
334 //Voice Call- Common Command Ids
335 enum CommandIds
336 {
337         IDA_ADD_CALL = DIAL_CMD_TOTAL_COUNT+1,
338         IDA_JOIN_CALL,
339         IDA_OPEN_CONTACTS,
340         IDA_HOLD_CALL,
341         IDA_UNHOLD_CALL,
342         IDA_MUTE,
343         IDA_UNMUTE,
344         IDA_SPEAKER,
345         IDA_SPEAKER_OFF,
346         IDA_OPEN_NUMKEYPAD,
347         IDA_CLOSE_NUMKEYPAD,
348         IDA_END_CALL,
349         IDA_SHOW_REJECT_CALL_MESSAGE_PANEL, //Show the reject with message panel
350         IDA_CANCEL_REJECT_CALL_MESSAGE_PANEL,//Cancel the reject with message panel
351         IDA_CREATE_REJECT_CALL_MESSAGE,//Reject the call with new message
352         IDA_VOICE_CALL,
353         IDA_VIDEO_CALL,
354         IDA_MESSAGE,
355         IDA_END_CONF_CALL,
356         IDA_HOLD_CONF_CALL,
357         IDA_UNHOLD_CONF_CALL,
358         IDA_ADD_TO_CONTACTS, //add current contact to AddressBook
359         IDA_BACK_EVENT,
360         IDA_SWAP_CALLS,
361         IDA_MORE_OPTIONS_MENU,
362         IDA_MORE_CONF_CALLLIST_OPTION,
363         IDA_SEND_REJECT_MSG1,
364         IDA_SEND_REJECT_MSG2,
365         IDA_SEND_REJECT_MSG3,
366         IDA_SEND_REJECT_MSG4,
367         IDA_SEND_REJECT_MSG5,
368         IDA_SEND_REJECT_MSG6,
369         IDA_CALL_WAITING_OPTION_CHECKED,
370         IDA_CALL_WAITING_OPTION_UNCHECKED,
371         IDA_TOTAL_CMD_IDS,
372 };
373
374 //Command Ids for Ending Caller in Conference list.
375 enum EndConfCallerCmdIds
376 {
377         IDA_END_CALLER1 = IDA_TOTAL_CMD_IDS + 1,
378         IDA_END_CALLER2,
379         IDA_END_CALLER3,
380         IDA_END_CALLER4,
381         IDA_END_CALLER5,
382         IDA_TOTAL_ENDCONFCALLER_CMD_IDS,
383 };
384
385 enum SplitConfCallerCmdIds
386 {
387         IDA_SPLIT_CALLER1 = IDA_TOTAL_ENDCONFCALLER_CMD_IDS + 1,
388         IDA_SPLIT_CALLER2,
389         IDA_SPLIT_CALLER3,
390         IDA_SPLIT_CALLER4,
391         IDA_SPLIT_CALLER5,
392         IDA_TOTAL_SPLITCONFCALLER_CMD_IDS,
393 };
394
395 enum CallAnsweringOptions
396 {
397         ANSERWING_OPTION_HOLD_SINGLE_CALL = 503,//Hold previous call and accept incoming call.
398         ANSERWING_OPTION_END_SINGLE_CALL,//End previous call and accept incoming call.
399         ANSERWING_OPTION_REPLACE_ACTIVE_CALL,//Replace previous active call with incoming call.
400         ANSERWING_OPTION_REPLACE_HELD_CALL,//Replace previous held call with incoming call.
401         ANSERWING_OPTION_END_ALL_CALLS,//end all previous calls and accept incoming.
402         ANSERWING_OPTION_ACCEPT_CALL,//no previous active calls present
403 };
404
405 enum SoundMode
406 {
407         SOUND_MODE_VOICE = 0,
408         SOUND_MODE_RINGTONE,
409         SOUND_MODE_MEDIA
410 };
411
412 //Type of the call (incoming, outgoing etc for call log database
413 enum CallLogType
414 {
415         CALL_LOG_TYPE_VOICE_INCOMING,
416         CALL_LOG_TYPE_VOICE_OUTGOING,
417         CALL_LOG_TYPE_VOICE_MISSED,
418         CALL_LOG_TYPE_VOICE_MISSED_UNSEEN,
419         CALL_LOG_TYPE_VOICE_REJECTED,
420         CALL_LOG_TYPE_VOICE_BLOCKED,
421         CALL_LOG_TYPE_SMS_INCOMING,
422         CALL_LOG_TYPE_SMS_OUTGOING,
423 };
424
425 //Error code to handle error scenarios
426 enum ErrorCodes
427 {
428         ERROR_NONE,
429         ERROR_INVALID_INPUT,
430         ERROR_DIAL_FAILED,
431         ERROR_INVALID_NUMBER,
432         ERROR_REJECT_FAILED,
433         ERROR_JOIN_FAILED,
434         ERROR_SWAP_FAILED,
435         ERROR_END_CALL_FAILED,
436         ERROR_END_FROM_CONFERENCE_FAILED,
437         ERROR_SPLIT_FROM_CONFERENCE_FAILED,
438         ERROR_CODE_SIM_INITIALIZATION_FAILED,
439         ERROR_NOT_EMERGENCY_NUM,
440         ERROR_TAPI_INIT_FAILED,
441         ERROR_TAPI_ERROR,
442         ERROR_BARRING_PWD_TOO_LONG,
443         ERROR_FLIGHT_MODE_SET,
444         ERROR_GENERAL,
445         ERROR_USSD_NUMBER,
446 };
447
448 enum DialerRequestType
449 {
450         REQUEST_SHOW_SUGGESTION,
451         REQUEST_SHOW_ADD_TO_CONTACTS,
452         REQUEST_SHOW_SPEED_DIAL_POPUP,
453         REQUEST_CALL_SPEED_DIAL_NUM,
454 };
455
456 enum IncomingCallFormRequestType
457 {
458         REQUEST_ITEM_SELECTED,
459 };
460
461
462 //Dimensions for Small photo of caller/callee.
463 extern const int W_SMALL_PHOTO;
464 extern const int H_SMALL_PHOTO;
465 extern const int W_CONFERENCE_PHOTO;
466 extern const int H_CONFERENCE_PHOTO;
467 extern const int W_CALL_THUMBNAIL;
468 extern const int H_CALL_THUMBNAIL;
469 extern const int W_CALL_THUMBNAIL_SHADOW;
470 extern const int H_CALL_THUMBNAIL_SHADOW;
471
472 //Maximum number of calls
473 extern const int IDI_MAX_ACTIVE_CALLS;
474 extern const int IDI_MAX_CONF_CALL_PARTICIPANTS;
475 //Constants used for custom list item in message panel in Incoming call screen
476 extern const int IDA_FORMAT_SENDTEXT;
477 extern const int IDA_BUTTON_CANCEL_OPTIONS_POPUP;
478 extern const int ID_MULTI_PARTY_CALL;
479 extern const int ID_SECOND_INCOMING_CALL;
480 //Constants
481 extern const wchar_t* IDI_KEY2_TXT;
482 extern const wchar_t* IDI_KEY3_TXT;
483 extern const wchar_t* IDI_KEY4_TXT;
484 extern const wchar_t* IDI_KEY5_TXT;
485 extern const wchar_t* IDI_KEY6_TXT;
486 extern const wchar_t* IDI_KEY7_TXT;
487 extern const wchar_t* IDI_KEY8_TXT;
488 extern const wchar_t* IDI_KEY9_TXT;
489
490 #endif /* PHNTYPES_H_ */