comparison src/aci2/bmi/mmiwindow.h @ 3:93999a60b835

src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 26 Sep 2016 00:29:36 +0000
parents
children
comparison
equal deleted inserted replaced
2:c41a534f33c6 3:93999a60b835
1 #ifndef _DEF_MMI_MMIWINDOW_H_
2 #define _DEF_MMI_MMIWINDOW_H_
3
4
5 /*******************************************************************************
6
7 TI (Shanghai)
8
9 ********************************************************************************
10
11 This software product is the property of TI (Shanghai) Ltd and may not be
12 disclosed to any third party without the express permission of the owner.
13
14 ********************************************************************************
15
16 $Project name: TISHMMI Project
17 $Project code: BMI (6349)
18 $Module: MMI
19 $File: mmiwindow.h
20 $Revision: 1.0
21
22 $Author: Yan Bin(bin-yan@ti.com)
23 $Date: 28/08/03
24
25 ********************************************************************************
26
27 Description:
28
29 This module provides definitions of the types and
30 constants which are shared across the MMS
31 application modules.
32
33 ********************************************************************************
34 $History: mmiwindow.h
35
36 CRR 23959: xpradipg 26 Aug 2004
37 Description: List not updated after deleting the messages in Unsent/Inbox folder
38 Solution: The list is refreshed everytime the user returns from the options menu
39
40 28/08/03 Original TI(Shanghai) BMI version.
41
42 $End
43
44 *******************************************************************************/
45 #undef GLOBAL_EXT
46 #if defined (MMI_MMIWINDOW_C)
47 #define GLOBAL_EXT
48 #else
49 #define GLOBAL_EXT extern
50 #endif
51
52 /*******************************************************************************
53
54 Include Files
55
56 *******************************************************************************/
57
58 #include "mfw_mfw.h"
59
60
61
62 /*******************************************************************************
63
64 MMI Window Message definition
65
66 *******************************************************************************/
67 #define MWM_CREATE 0x0010
68 #define MWM_DESTORY 0x0011
69 #define MWM_ONDRAW 0x0012
70 #define MWM_KEYBOARD 0x0012
71
72 #define MWM_SUSPEND 0x0013
73 #define MWM_RESUME 0x0014
74 //CRR 23959 - xpradipg 26 Aug 2004
75 //new event added to handle the menu redraw on returning from the options menu
76 #define MWM_REDRAW 0x0015
77
78 #define MWM_USER 0x8000
79
80 //CRR 23959 - xpradipg 26 Aug 2004
81 //Moved the structure definition from mmiwindow.c
82 typedef struct
83 {
84 /* administrative data */
85 T_MMI_CONTROL mmi_control;
86 T_MFW_HND win;
87 SHORT id;
88 T_MFW_HND parent;
89
90 /* associated handlers */
91
92 T_MFW_HND kbd;
93 T_MFW_HND kbd_long;
94 T_MFW_HND menu;
95
96 T_MFW_HND opt_win;
97 T_MFW_HND info_win;
98 T_MFW_HND list_win;
99
100 ListMenuData *menu_list_data;
101 UBYTE option_select; /* indicate what the user selected in the Optionsmenu*/
102 } T_MMIWINDOW;
103
104 /*******************************************************************************
105
106 Function Prototypes
107
108 *******************************************************************************/
109
110
111 GLOBAL_EXT T_MFW_HND MMI_CreateWindow(T_MFW_HND hWinParent,
112 T_DIALOG_FUNC win_exec_cb,
113 void * parameter,
114 MfwCb kbd_cb,
115 MfwMnuAttr * pMnuAttr,
116 unsigned long dwStyle);
117
118 GLOBAL_EXT T_MFW_HND MMI_ParentWindow(T_MFW_HND hWin);
119
120 GLOBAL_EXT T_MFW_HND MMI_DestoryWindow(T_MFW_HND hWin);
121
122 extern void DummyFreeFunc(void *pMemBlock);
123
124
125 /*******************************************************************************
126
127 DUMMY DECLARATIONS
128
129 *******************************************************************************/
130
131 //Dummy defines
132
133 // Dummy global variables
134
135
136
137 #endif /* _DEF_MMI_MMIWINDOW_H_ */
138
139
140
141
142