FreeCalypso > hg > leo2moko-debug
comparison g23m/condat/ms/src/bmi/mmimmsmenu.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_MMSMENU_H_ | |
2 #define _DEF_MMI_MMSMENU_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: TISHMMS Project | |
17 $Project code: BMI (6349) | |
18 $Module: MMS | |
19 $File: mmimmsmenu.h | |
20 $Revision: 1.0 | |
21 | |
22 $Author: Yan Bin(bin-yan@ti.com) | |
23 $Date: 26/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: mmimmsmenu.h | |
35 May 11 2005 REF: MMI-SPR-29887 x0012849 | |
36 To Implement the deferred MMS retrieval. | |
37 xrashmic 14 Oct, 2004 MMI-SPR-25291 | |
38 | |
39 26/08/03 Original TI(Shanghai) BMI version. | |
40 | |
41 $End | |
42 | |
43 *******************************************************************************/ | |
44 #undef GLOBAL_EXT | |
45 #if defined (MMI_MMSMENU_C) | |
46 #define GLOBAL_EXT | |
47 #else | |
48 #define GLOBAL_EXT extern | |
49 #endif | |
50 | |
51 /******************************************************************************* | |
52 | |
53 Include Files | |
54 | |
55 *******************************************************************************/ | |
56 | |
57 #include "mfw_mfw.h" | |
58 | |
59 | |
60 | |
61 /******************************************************************************* | |
62 | |
63 Shared Structure Definitions | |
64 | |
65 *******************************************************************************/ | |
66 | |
67 #define MENU_TEXT_LENGTH 16 //TBD: to include in common .h | |
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 //+possible addition of concatenated status information SPR 1833 | |
72 #define MAX_EDITOR_LEN (5+MFW_NUM_LEN+MAX_MSG_LEN+4+30) | |
73 | |
74 typedef enum | |
75 { | |
76 E_MODE_INIT = 0x0801, | |
77 E_MODE_TOPIC, | |
78 E_MODE_NUMBER, | |
79 E_MODE_TEXT, | |
80 E_MODE_BACK, | |
81 E_MODE_ABORT, | |
82 E_MODE_EXIT, | |
83 E_MODE_OK | |
84 } e_MMS_events; | |
85 | |
86 #define MMS_INBOX 0 | |
87 #define MMS_UNSENT 1 | |
88 #define MMS_OUTBOX 2 | |
89 //CRR: 25291 - xrashmic 14 Oct 2004 | |
90 #define MMS_SENT 3 | |
91 /******************************************************************************* | |
92 | |
93 Function Prototypes | |
94 | |
95 *******************************************************************************/ | |
96 // Entry points for the different MMS blocs | |
97 GLOBAL_EXT int M_exeMMSCreate(MfwMnu* m, MfwMnuItem* i); | |
98 // pinghua add for EMS test !! | |
99 GLOBAL_EXT int M_exeEMSCreate(MfwMnu* m, MfwMnuItem* i); | |
100 | |
101 GLOBAL_EXT int M_exeMMSInbox(MfwMnu* m, MfwMnuItem* i); | |
102 GLOBAL_EXT int M_exeMMSUnsent(MfwMnu* m, MfwMnuItem* i); | |
103 //CRR: 25291 - xrashmic 14 Oct 2004 | |
104 //The Outbox has been removed, instead we now have Sent folder in MMS | |
105 GLOBAL_EXT int M_exeMMSSent(MfwMnu* m, MfwMnuItem* i); | |
106 GLOBAL_EXT int M_exeMMSSettings(MfwMnu* m, MfwMnuItem* i); | |
107 // May 11 2005 REF: MMI-SPR-29887 x0012849 | |
108 // prototype of the function | |
109 GLOBAL_EXT int MmsRetrievalTypeRequest(MfwMnu* m, MfwMnuItem* i); | |
110 | |
111 | |
112 | |
113 /******************************************************************************* | |
114 | |
115 DUMMY DECLARATIONS | |
116 | |
117 *******************************************************************************/ | |
118 | |
119 //Dummy defines | |
120 | |
121 // Dummy global variables | |
122 | |
123 | |
124 | |
125 #endif /* _DEF_MMI_MMSMENU_H_ */ | |
126 | |
127 |