comparison src/ui/bmi/mmiSmsRead.h @ 3:67bfe9f274f6

src/ui: import of src/ui3 from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:33:10 +0000
parents
children c0052fe355d3
comparison
equal deleted inserted replaced
2:3a14ee9a9843 3:67bfe9f274f6
1 #ifndef _DEF_MMI_SMSREAD_H_
2 #define _DEF_MMI_SMSREAD_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
13 CONDAT (UK)
14
15 ********************************************************************************
16
17 This software product is the property of Condat (UK) Ltd and may not be
18 disclosed to any third party without the express permission of the owner.
19
20 ********************************************************************************
21
22 $Project name: Basic MMI
23 $Project code: BMI (6349)
24 $Module: SMS
25 $File: mmiSmsRead.h
26 $Revision: 1.0
27
28 $Author: Condat(UK)
29 $Date: 25/10/00
30
31 ********************************************************************************
32
33 Description:
34
35 This module provides definitions of the types and
36 constants which are shared across the phone book
37 application modules.
38
39 ********************************************************************************
40 $History: mmiSmsRead.h
41
42 25/10/00 Original Condat(UK) BMI version.
43
44 $End
45
46 *******************************************************************************/
47
48 /*******************************************************************************
49
50 Include Files
51
52 *******************************************************************************/
53
54 #include "mfw_mfw.h"
55
56 /*******************************************************************************
57
58 Shared Structure Definitions
59
60 *******************************************************************************/
61
62 /*SPR 1453*/
63 #ifdef LSCREEN
64 #define MENU_TEXT_LENGTH 50
65 #else
66 #define MENU_TEXT_LENGTH 16 //TBD: to include in common .h
67 #endif
68 #define MENU_HEADER_LENGTH (MENU_TEXT_LENGTH - 4) //TBD: to include in common .h
69
70 // Length = to len("from ") + len(number) + len(sms text) + 4 (for \0 \n and optional ionternational character +)
71 #define MAX_EDITOR_LEN (5+MFW_NUM_LEN+MAX_MSG_LEN+4)
72
73
74 typedef enum
75 {
76 MMI_SMS_MO,
77 MMI_SMS_MT,
78 MMI_SMS_CB
79 } T_MMI_SMS_STAT;
80
81 /*******************************************************************************
82
83 Function Prototypes
84
85 *******************************************************************************/
86
87
88 T_MFW_HND SmsRead_R_TEXTEDT2_start(T_MFW_HND parent_window, MfwMnuAttr *data);
89 T_MFW_HND SmsRead_R_OPT_start(T_MFW_HND parent_window, MfwMnuAttr *menuAttr);
90
91
92 void SmsRead_DisplayStandardDialog(T_MFW_HND win, int TextId, ULONG duration);
93
94
95
96 /*******************************************************************************
97
98 DUMMY DECLARATIONS
99
100 *******************************************************************************/
101
102 //Dummy defines
103 #define SmsRead_R_ID 100
104 #define SmsRead_R_TEXTEDT_ID 101
105 #define SmsRead_R_TEXTEDT2_ID 101 // Specific for approval
106 #define SmsRead_R_OPT_ID 102
107 #define SmsRead_SMS_DISPLAY_ID 103
108 #define SmsRead_R_READSMS_OPT_ID 104
109
110 #define DEFAULT_FONT -1
111
112 #define SMS_APPROVAL 1
113
114 // MZ 6/2/01 temp typedefs.
115 typedef char * wstring_t;
116 typedef char * charw_t;
117 typedef ListCbFunc ListCbFunc_t;
118
119
120
121
122 #endif /* _DEF_MMI_SMSMENU_H_ */