comparison src/ui/bmi/mmiTimeDate.h @ 92:c0052fe355d3

src/ui/bmi/*.[ch]: rm trailing white space
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 08 Nov 2020 06:39:16 +0000
parents 67bfe9f274f6
children 6cca8d6d34d3
comparison
equal deleted inserted replaced
91:c3d28a37caad 92:c0052fe355d3
7 7
8 ******************************************************************************** 8 ********************************************************************************
9 9
10 This software product is the property of Condat (UK) Ltd and may not be 10 This software product is the property of Condat (UK) Ltd and may not be
11 disclosed to any third party without the express permission of the owner. 11 disclosed to any third party without the express permission of the owner.
12 12
13 ******************************************************************************** 13 ********************************************************************************
14 14
15 $Project name: Basic MMI 15 $Project name: Basic MMI
16 $Project code: BMI (6349) 16 $Project code: BMI (6349)
17 $Module: MMI 17 $Module: MMI
18 $File: MmiTimeDate.h 18 $File: MmiTimeDate.h
19 $Revision: 1.0 19 $Revision: 1.0
20 20
21 $Author: Condat(UK) 21 $Author: Condat(UK)
22 $Date: 25/10/00 22 $Date: 25/10/00
23 23
24 ******************************************************************************** 24 ********************************************************************************
25 25
26 Description: 26 Description:
27 27
28 This provides the root mofule for the basic MMI 28 This provides the root mofule for the basic MMI
29 29
30 ******************************************************************************** 30 ********************************************************************************
31 $History: MmiTimeDate.h 31 $History: MmiTimeDate.h
32 32
33 Jan 06,2004 REF: CRR 27859 xkundadu 33 Jan 06,2004 REF: CRR 27859 xkundadu
34 Description: Clock: Alarm does not go off even if timer times out. 34 Description: Clock: Alarm does not go off even if timer times out.
35 Solution: If the mfw_td_set_alarm() function fails, display the 35 Solution: If the mfw_td_set_alarm() function fails, display the
36 'Write Failed" message. 36 'Write Failed" message.
37 Added 'TIDA_SAVEFAILED' enum to display 'Write Failed' for set alarm fail case. 37 Added 'TIDA_SAVEFAILED' enum to display 'Write Failed' for set alarm fail case.
38 38
39 39
40 40
41 $End 41 $End
42 42
43 *******************************************************************************/ 43 *******************************************************************************/
44 #include "mfw_ffs.h" 44 #include "mfw_ffs.h"
45 45
47 #define ALLOC_MEMORY mfwAlloc 47 #define ALLOC_MEMORY mfwAlloc
48 #define FREE_MEMORY mfwFree 48 #define FREE_MEMORY mfwFree
49 49
50 /* SPR#1428 - SH - New Editor changes 50 /* SPR#1428 - SH - New Editor changes
51 * New time/date data */ 51 * New time/date data */
52 52
53 #ifdef NEW_EDITOR 53 #ifdef NEW_EDITOR
54 54
55 typedef enum 55 typedef enum
56 { 56 {
57 TIDA_INIT, /* Initialise */ 57 TIDA_INIT, /* Initialise */
61 TIDA_ALARMTIME, /* Enter alarm time */ 61 TIDA_ALARMTIME, /* Enter alarm time */
62 TIDA_SAVE, /* Save data to flash & display "Saved" dialog */ 62 TIDA_SAVE, /* Save data to flash & display "Saved" dialog */
63 63
64 // Jan 06,2004 REF: CRR 27859 xkundadu 64 // Jan 06,2004 REF: CRR 27859 xkundadu
65 // Description: Clock: Alarm does not go off even if timer times out. 65 // Description: Clock: Alarm does not go off even if timer times out.
66 // Solution: If the mfw_td_set_alarm() function fails, display the 66 // Solution: If the mfw_td_set_alarm() function fails, display the
67 // 'Write Failed" message. 67 // 'Write Failed" message.
68 68
69 // Added 'TIDA_SAVEFAILED' enum to display 'Write Failed' for set alarm fail case. 69 // Added 'TIDA_SAVEFAILED' enum to display 'Write Failed' for set alarm fail case.
70 TIDA_SAVEFAILED // 70 TIDA_SAVEFAILED //
71 }E_TIMER_EVENTS; 71 }E_TIMER_EVENTS;
72 72
73 T_MFW_HND tida_create(T_MFW_HND parent_win); 73 T_MFW_HND tida_create(T_MFW_HND parent_win);
74 T_MFW_HND tida_destroy(T_MFW_HND win); 74 T_MFW_HND tida_destroy(T_MFW_HND win);
75 75
103 103
104 104
105 /* Functions below are common to old and new versions */ 105 /* Functions below are common to old and new versions */
106 106
107 /* PROTOTYPES */ 107 /* PROTOTYPES */
108 //menu handler functions 108 //menu handler functions
109 int alarmTimeDate(MfwMnu* m, MfwMnuItem* i); 109 int alarmTimeDate(MfwMnu* m, MfwMnuItem* i);
110 int settingsTimeDate(MfwMnu* m, MfwMnuItem* i); 110 int settingsTimeDate(MfwMnu* m, MfwMnuItem* i);
111 int clear_alarm(MfwMnu* m, MfwMnuItem* i); 111 int clear_alarm(MfwMnu* m, MfwMnuItem* i);
112 int twelve_hour_clock(MfwMnu* m, MfwMnuItem* i); 112 int twelve_hour_clock(MfwMnu* m, MfwMnuItem* i);
113 int twentyfour_hour_clock(MfwMnu* m, MfwMnuItem* i); 113 int twentyfour_hour_clock(MfwMnu* m, MfwMnuItem* i);