comparison g23m/condat/ms/src/bmi/MmiDummy.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
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
64 // xreddymn Jun-28-2005 MMI-SPR-32467
65 #define E_WIN_SUSPEND MfwWinSuspend
66
67 #define kbd_create kbdCreate
68 #define kbd_delete kbdDelete
69 /* SPR#1428 - SH - New Editor: no longer required */
70 #ifndef NEW_EDITOR
71 #define edt_create edtCreate
72 #define edt_delete edtDelete
73 #define edt_reset edtReset
74 #endif
75
76 #define tim_delete timDelete
77 #define tim_create timCreate
78 #define tim_start timStart
79 #define tim_stop timStop
80 #define tim_set_time timSetTime
81
82 #define sat_create satCreate
83 #define sat_init satInit
84 #define sat_delete satDelete
85 #define sat_exit satExit
86
87 #define sat_done( a, b ) satDone( a, (U8 *) b, (int) sizeof( b ) )
88
89 typedef MfwSat T_MFW_SAT;
90 typedef MfwTim T_MFW_TIM;
91 typedef MfwWin T_MFW_WIN;
92
93 typedef SatCmd T_SAT_CMD;
94 typedef SatTxt T_SAT_TXT;
95 typedef SatInput T_SAT_INPUT;
96
97 typedef MfwMnuItem T_MFW_MNU_ITEM;
98 typedef MfwMnuAttr T_MFW_MNU_ATTR;
99 typedef MfwMnu T_MFW_MNU;
100 typedef MfwKbd T_MFW_KBD;
101 #ifndef NEW_EDITOR /* SPR#1428 - SH - New Editor: no longer required */
102 typedef MfwEdtAttr T_MFW_EDT_ATTR;
103 #endif
104
105 #define MFW_SAT_REFRESH MfwSatRefresh
106 #define MFW_SAT_TEXT_OUT MfwSatTextOut
107 #define MFW_SAT_GET_KEY MfwSatGetKey
108 #define MFW_SAT_GET_STRING MfwSatGetString
109 #define MFW_SAT_PLAY_TONE MfwSatPlayTone
110 #define MFW_SAT_SETUP_MENU MfwSatSetupMenu
111 #define MFW_SAT_SELECT_ITEM MfwSatSelectItem
112 #define MFW_SAT_SEND_SMS MfwSatSendSMS
113 #define MFW_SAT_SEND_SS MfwSatSendSS
114 #define MFW_SAT_CALL MfwSatCall
115 #define MFW_SAT_SESSION_END MfwSatSessionEnd
116
117 #define SAT_RES_SUCCESS SatResSuccess
118 #define SAT_RES_PARTIAL SatResPartial
119 #define SAT_RES_MISSING SatResMissing
120 #define SAT_RES_ADDITIONAL SatResAdditional
121 #define SAT_RES_MODIFIED SatResModified
122 #define SAT_RES_USER_ABORT SatResUserAbort
123 #define SAT_RES_USER_BACK SatResUserBack
124 #define SAT_RES_USER_NO_RESP SatResUserNoResp
125 #define SAT_RES_USER_HELP SatResUserHelp
126 #define SAT_RES_BUSY_ME SatResBusyME
127 #define SAT_RES_BUSY_NET SatResBusyNet
128 #define SAT_RES_REJECT SatResReject
129 #define SAT_RES_CLEARED SatResCleared
130 #define SAT_RES_CC_TEMP SatResCCTemp
131 #define SAT_RES_IMPOSSIBLE SatResImpossible
132 #define SAT_RES_UNKNOWN_TYPE SatResUnknownType
133 #define SAT_RES_UNKNOWN_DATA SatResUnknownData
134 #define SAT_RES_UNKNOWN_NUMBER SatResUnknownNumber
135 #define SAT_RES_SS_ERROR SatResSSerror
136 #define SAT_RES_SMS_ERROR SatResSMSerror
137 #define SAT_RES_NO_VALUES SatResNoValues
138 #define SAT_RES_USSD_ERROR SatResUSSDerror
139 #define SAT_RES_CC_PERMANENT SatResCCPermanent
140
141 /*
142 * end of compatibility definitions
143 */
144 // May 02, 2005 REF : LOCOSTO-ENH-30818 - xpradipg
145 #ifdef FF_MMI_ATC_MIGRATION
146 EXTERN char imei[];
147 #endif
148 char* get_build_user(void); // RAVI
149 char* get_build_date(void); // RAVI
150 char* get_build_time(void); // RAVI
151 // May 02, 2005 REF : LOCOSTO-ENH-30818 - xpradipg
152 #ifdef FF_MMI_ATC_MIGRATION
153 void mmi_imei_retrieve();
154 #else
155 int get_imei(char *imei);
156 #endif
157 extern T_MFW_HND idle_get_window (void);
158
159
160 #endif
161