comparison g23m/condat/ms/src/bmi/mmismssend.h @ 0:509db1a7b7b8

initial import: leo2moko-r1
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 01 Jun 2015 03:24:05 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:509db1a7b7b8
1 #ifndef _DEF_MMI_SMSSEND_H_
2 #define _DEF_MMI_SMSSEND_H_
3
4 #undef GLOBAL_EXT
5 #if defined (MMI_SMSREAD_C)
6 #define GLOBAL_EXT
7 #else
8 #define GLOBAL_EXT extern
9 #endif
10 /*******************************************************************************
11
12 CONDAT (UK)
13
14 ********************************************************************************
15
16 This software product is the property of Condat (UK) Ltd and may not be
17 disclosed to any third party without the express permission of the owner.
18
19 ********************************************************************************
20
21 $Project name: Basic MMI
22 $Project code: BMI (6349)
23 $Module: SMS
24 $File: mmismssend.h
25 $Revision: 1.0
26
27 $Author: Condat(UK)
28 $Date: 25/10/00
29
30 ********************************************************************************
31
32 Description:
33
34 header of template for MMI yyy dynamic event handling
35
36 ********************************************************************************
37 $History: mmismssend.h
38
39 Feb 02, 2005 REF: CRR 28479 xnkulkar
40 Bug: While saving a SMS, if the user presses LSK while the 'Saved' dialog is displayed, the 'Saved'
41 dialog doesn't get dismissed.
42 Solution: Only RSK and Hangup keys dismiss the 'Saved' info screen and all other key presses
43 are ignored.
44
45 25/10/00 Original Condat(UK) BMI version.
46
47 $End
48
49 *******************************************************************************/
50
51 /*******************************************************************************
52
53 Include Files
54
55 *******************************************************************************/
56
57 #include "mfw_mfw.h"
58 /* SPR#1428 - SH - New Editor changes */
59 #ifndef NEW_EDITOR
60 #include "MmiEditor.h" //GW Added for T_EDITOR structure
61 #endif
62
63
64 /*******************************************************************************
65
66 Shared Structure Definitions
67
68 *******************************************************************************/
69
70 typedef struct
71 {
72 /* administrative data */
73
74 T_MMI_CONTROL mmi_control;
75 T_MFW_HND win;
76 T_MFW_HND parent;
77 T_MFW_HND child_dialog;/* to keep the window of dialog */
78 T_MFW_HND sms_handler;
79 SHORT id;
80 T_SmsUserData edt_data; /* pointer of text and number */
81 T_MFW_HND text_editor;
82 T_MFW_HND number_editor;
83 T_MFW_HND sc_number_editor;
84 T_MFW_HND options_win;
85 } T_SEND;
86
87 typedef enum
88 {
89 /* Logical frames */
90 SEND_ID,
91 SAVE_ID,
92 /* Extern windows */
93 PHBK_ID,
94 /* Editor windows */
95 SMSSEND_ID_TEXTEDIT,
96 SMSSEND_ID_NBEDIT,
97 SMSSEND_ID_CENTREEDIT,
98 SMSSEND_ID_CENTREEDIT_CHANGE,
99 /* Dialog windows */
100 SMSSEND_ID_WAITING,
101 SMSSEND_ID_WAIT_SEND,
102 SMSSEND_ID_SENT,
103 SMSSEND_ID_NOT_SENT,
104 SMSSEND_ID_WAIT_SAVE,
105 SMSSEND_ID_SAVED,
106 SMSSEND_ID_NOT_SAVED,
107 SMSSEND_ID_LIST_FULL,
108 SMSSEND_ID_SAVE_NOT_READY, //PATCH TB
109 SMSSEND_ID_SC_NOT_READY, //PATCH TB
110 SMSSEND_ID_NOT_ALLOWED
111
112 } sms_send_id;
113
114 /*******************************************************************************
115
116 Function Prototypes
117
118 *******************************************************************************/
119
120 GLOBAL_EXT T_MFW_HND SmsSend_SEND_start(T_MFW_HND parent_window, T_SmsUserData *UserData);
121 GLOBAL_EXT T_MFW_HND SmsSend_SAVE_start(T_MFW_HND parent_window, T_SmsUserData *UserData);
122 GLOBAL_EXT T_MFW_HND V_start(T_MFW_HND parent_window, MfwMnuAttr *menuAttr);
123 GLOBAL_EXT int M_callVoice(MfwMnu* m, MfwMnuItem* i);
124 // Feb 02, 2005 REF: CRR 28479 xnkulkar
125 // Prototype of function mmi_dialog_information_screen_save_sms()
126 T_MFW_HND mmi_dialog_information_screen_save_sms(T_MFW_HND parent_win, int TxtId, char* text, T_VOID_FUNC call_back, USHORT identifier);
127 int SmsSend_R_OPTExeCentreEdit(MfwMnu* m, MfwMnuItem* i);
128
129 // Used im mmismsread to compare with SMS center number
130 GLOBAL_EXT UBYTE SmsSend_get_config_data(T_MFW_SMS_INFO *config_data);
131 GLOBAL_EXT void SmsSend_convert_to_inter(T_MFW_SMS_ADDR *source_number, char *dest_number);
132 UBYTE SmsSend_set_SrvCntr_number (T_MFW_SMS_INFO *config_data);
133 /* SPR#1428 - SH - New Editor: no longer required */
134 #ifndef NEW_EDITOR
135 //GW 29/11/01 - Added
136 void SmsSend_loadEditDefault(T_EDITOR_DATA * edit_info);
137 #endif /* NEW_EDITOR */
138 #endif /* _DEF_MMI_SMSSEND_H_ */