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