comparison src/ui3/bmi/mmiSmsIdle.h @ 420:e8ddbb0837ed

src/ui3: initial import of TCS3/LoCosto BMI & MFW code
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 21 Jan 2018 03:09:00 +0000
parents
children
comparison
equal deleted inserted replaced
419:59143cd42ec7 420:e8ddbb0837ed
1 #ifndef _DEF_MMI_SMSIDLE_H_
2 #define _DEF_MMI_SMSIDLE_H_
3 /*******************************************************************************
4
5 CONDAT (UK)
6
7 ********************************************************************************
8
9 This software product is the property of Condat (UK) Ltd and may not be
10 disclosed to any third party without the express permission of the owner.
11
12 ********************************************************************************
13
14 $Project name: Basic MMI
15 $Project code: BMI (6349)
16 $Module: SMS
17 $File: mmiSmsIdle.h
18 $Revision: 1.0
19
20 $Author: Condat(UK)
21 $Date: 25/10/00
22
23 ********************************************************************************
24
25 Description: Header file for the SMS idle.
26
27 ********************************************************************************
28 $History: mmiSmsIdle.h
29
30 25/10/00 Original Condat(UK) BMI version.
31
32 $End
33
34 *******************************************************************************/
35
36 /*******************************************************************************
37
38 Include Files
39
40 *******************************************************************************/
41
42 #include "mfw_mfw.h"
43
44 #define SMS_PROMPTX 5
45 #define SMS_PROMPTY 45
46 #define PROMPTX 7
47 #define PROMPTY 17
48
49 /*NM p029*/
50 #define TEXT_COMPRESSED 0x20
51 /* Marcus: Issue 1650: 28/01/2003: Start */
52 #define TEXT_CLASS_GIVEN 0x10
53 #define TEXT_CLASS_MASK 0x03
54 #define TEXT_CLASS_0 0x00
55 /* Marcus: Issue 1650: 28/01/2003: Start */
56
57 /* this should keep only one for all SMS Parts */
58 typedef enum
59 {
60 E_INIT = 0x0801,
61 E_BACK,
62 E_ABORT,
63 E_EXIT,
64 E_RETURN,
65 E_OK
66 } e_M_events;
67
68
69 T_MFW_HND smsidle_start(T_MFW_HND parent_window, void *param);
70 void smsidle_destroy (void);
71
72 BOOL smsidle_get_memory_full(void);
73 BOOL smsidle_get_ready_state(void);
74
75 // Used to count the number of deleted messages in delete all
76 extern SHORT g_ListLength2;
77
78
79 /* for backward compatibility only */
80 #define msgsNewMessageStatus smsidle_get_unread_sms_available
81 #define msgsShowStatus smsidle_display_sms_status
82
83 #define smsCbNewMessageStatus smsidle_get_unread_smscb_available
84 #define smsCbShowStatus smsidle_display_smscb_status
85
86 BOOL smsidle_get_unread_sms_available(void);
87 int smsidle_display_sms_status(int* noOfMsgs);
88
89 BOOL smsidle_get_unread_smscb_available(void);
90 void smsidle_display_smscb_status(char * text);
91 //GW SPR#1035 - Added SAT changes
92 void smsidle_unset_ready_state(void);
93 /*SPR2512, function to format message information into a text string*/
94 void smsidle_message_to_text(T_MFW_SMS_MT* message, char* text_buffer);
95 #endif /* _DEF_MMI_SMSIDLE_H_ */