comparison src/ui3/bmi/mmiDummy.h @ 421:6a4d9f47793e

src/ui3/bmi: file renames to make the case consistent
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 21 Jan 2018 03:28:53 +0000
parents src/ui3/bmi/MmiDummy.h@e8ddbb0837ed
children
comparison
equal deleted inserted replaced
420:e8ddbb0837ed 421:6a4d9f47793e
1
2 #ifndef _DEF_MMI_DUMMY_H_
3 #define _DEF_MMI_DUMMY_H_
4
5
6 /*******************************************************************************
7
8 CONDAT (UK)
9
10 ********************************************************************************
11
12 This software product is the property of Condat (UK) Ltd and may not be
13 disclosed to any third party without the express permission of the owner.
14
15 ********************************************************************************
16
17 $Project name: Basic MMI
18 $Project code: BMI (6349)
19 $Module:
20 $File: MmiDummy.h
21 $Revision: 1.0
22
23 $Author: Condat(UK)
24 $Date: 25/10/00
25 *******************************************************************************
26 $History: MmiServices.c
27
28 xreddymn Jun-29-2005 MMI-ENH-32467:
29 Handling of animated GIF images. Added E_WIN_SUSPEND to
30 provide MfwWinSuspend event to WAP window
31
32 May 02, 2005 REF : LOCOSTO-ENH-30818 - xpradipg
33 Description: IMEI retreival by posting a call to ACI sAT_xx API
34 Solution: The direct call to cl_get_imeisv() is replaced with the
35 call to the callNUmber() which inturn calls sAT_Dn() and
36 retrieves the IMEI info
37
38 *******************************************************************************/
39
40
41
42 /****************************************************************************************
43 *
44 * Common Definitions for template and MFW compatibility
45 *
46 ****************************************************************************************
47 */
48 /*
49 * compatibility definitions
50 * MFW - GUI uses definitions which are not compatible with the
51 * interface !!!
52 */
53
54 #define mfw_parent mfwParent
55 #define mfw_header mfwHeader
56
57 #define win_create winCreate
58 #define win_delete winDelete
59 #define win_show winShow
60 #define win_hide winHide
61 #define win_unhide winUnhide
62 #define E_WIN_VISIBLE MfwWinVisible
63 #define E_WIN_RESUME MfwWinResume
64 #define E_WIN_SUSPEND MfwWinSuspend
65 #define E_WIN_DELETE MfwWinDelete
66
67 // xreddymn Jun-28-2005 MMI-SPR-32467
68 #define E_WIN_SUSPEND MfwWinSuspend
69
70 #define kbd_create kbdCreate
71 #define kbd_delete kbdDelete
72 /* SPR#1428 - SH - New Editor: no longer required */
73 #ifndef NEW_EDITOR
74 #define edt_create edtCreate
75 #define edt_delete edtDelete
76 #define edt_reset edtReset
77 #endif
78
79 #define tim_delete timDelete
80 #define tim_create timCreate
81 #define tim_start timStart
82 #define tim_stop timStop
83 #define tim_set_time timSetTime
84
85 #define sat_create satCreate
86 #define sat_init satInit
87 #define sat_delete satDelete
88 #define sat_exit satExit
89
90 #define sat_done( a, b ) satDone( a, (U8 *) b, (int) sizeof( b ) )
91
92 typedef MfwSat T_MFW_SAT;
93 typedef MfwTim T_MFW_TIM;
94 typedef MfwWin T_MFW_WIN;
95
96 typedef SatCmd T_SAT_CMD;
97 typedef SatTxt T_SAT_TXT;
98 typedef SatInput T_SAT_INPUT;
99
100 typedef MfwMnuItem T_MFW_MNU_ITEM;
101 typedef MfwMnuAttr T_MFW_MNU_ATTR;
102 typedef MfwMnu T_MFW_MNU;
103 typedef MfwKbd T_MFW_KBD;
104 #ifndef NEW_EDITOR /* SPR#1428 - SH - New Editor: no longer required */
105 typedef MfwEdtAttr T_MFW_EDT_ATTR;
106 #endif
107
108 #define MFW_SAT_REFRESH MfwSatRefresh
109 #define MFW_SAT_TEXT_OUT MfwSatTextOut
110 #define MFW_SAT_GET_KEY MfwSatGetKey
111 #define MFW_SAT_GET_STRING MfwSatGetString
112 #define MFW_SAT_PLAY_TONE MfwSatPlayTone
113 #define MFW_SAT_SETUP_MENU MfwSatSetupMenu
114 #define MFW_SAT_SELECT_ITEM MfwSatSelectItem
115 #define MFW_SAT_SEND_SMS MfwSatSendSMS
116 #define MFW_SAT_SEND_SS MfwSatSendSS
117 #define MFW_SAT_CALL MfwSatCall
118 #define MFW_SAT_SESSION_END MfwSatSessionEnd
119
120 #define SAT_RES_SUCCESS SatResSuccess
121 #define SAT_RES_PARTIAL SatResPartial
122 #define SAT_RES_MISSING SatResMissing
123 #define SAT_RES_ADDITIONAL SatResAdditional
124 #define SAT_RES_MODIFIED SatResModified
125 #define SAT_RES_USER_ABORT SatResUserAbort
126 #define SAT_RES_USER_BACK SatResUserBack
127 #define SAT_RES_USER_NO_RESP SatResUserNoResp
128 #define SAT_RES_USER_HELP SatResUserHelp
129 #define SAT_RES_BUSY_ME SatResBusyME
130 #define SAT_RES_BUSY_NET SatResBusyNet
131 #define SAT_RES_REJECT SatResReject
132 #define SAT_RES_CLEARED SatResCleared
133 #define SAT_RES_CC_TEMP SatResCCTemp
134 #define SAT_RES_IMPOSSIBLE SatResImpossible
135 #define SAT_RES_UNKNOWN_TYPE SatResUnknownType
136 #define SAT_RES_UNKNOWN_DATA SatResUnknownData
137 #define SAT_RES_UNKNOWN_NUMBER SatResUnknownNumber
138 #define SAT_RES_SS_ERROR SatResSSerror
139 #define SAT_RES_SMS_ERROR SatResSMSerror
140 #define SAT_RES_NO_VALUES SatResNoValues
141 #define SAT_RES_USSD_ERROR SatResUSSDerror
142 #define SAT_RES_CC_PERMANENT SatResCCPermanent
143
144 /*
145 * end of compatibility definitions
146 */
147 // May 02, 2005 REF : LOCOSTO-ENH-30818 - xpradipg
148 #ifdef FF_MMI_ATC_MIGRATION
149 EXTERN char imei[];
150 #endif
151 char* get_build_user(void); // RAVI
152 char* get_build_date(void); // RAVI
153 char* get_build_time(void); // RAVI
154 // May 02, 2005 REF : LOCOSTO-ENH-30818 - xpradipg
155 #ifdef FF_MMI_ATC_MIGRATION
156 void mmi_imei_retrieve();
157 #else
158 int get_imei(char *imei);
159 #endif
160 extern T_MFW_HND idle_get_window (void);
161
162 /* Added to remove warning Aug - 11 */
163 #ifdef PCM_2_FFS
164 extern S32 ffs_file_read ( const S8 * pathname, void * buf, S32 nbytes );
165 #endif /* PCM_2_FFS */
166 /* End - remove warning Aug - 11 */
167
168 #endif
169