changeset 124:073242ccbb63

mmiSms*.h: bogotab fixes
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 10 Nov 2020 06:08:42 +0000
parents 2d8124accc74
children 87d2aa0ddde5
files src/ui/bmi/mmiSmsBroadcast.h src/ui/bmi/mmiSmsIdle.h src/ui/bmi/mmiSmsMenu.h src/ui/bmi/mmiSmsRead.h src/ui/bmi/mmiSmsSend.h
diffstat 5 files changed, 74 insertions(+), 79 deletions(-) [+]
line wrap: on
line diff
--- a/src/ui/bmi/mmiSmsBroadcast.h	Tue Nov 10 06:01:15 2020 +0000
+++ b/src/ui/bmi/mmiSmsBroadcast.h	Tue Nov 10 06:08:42 2020 +0000
@@ -80,7 +80,7 @@
 /*********************************************************************
 **********************************************************************
 
-			cell broadcast fifo & lists declaration
+            cell broadcast fifo & lists declaration
 
 *********************************************************************
 **********************************************************************/
@@ -93,7 +93,7 @@
     SHORT           msg_id;              /* message identification          */
     T_SMSCB_STATUS status;              /* Read status of this message.    */
     CHAR            name[CB_TAG_LENGTH]; /* Alphanumeric message tag.       */
-    CHAR          * text;	         /* Pointer to cell broadcast msg   */
+    CHAR          * text;            /* Pointer to cell broadcast msg   */
 } T_SMS_CB_ATT;
 
 /* Cell Broadcast message list. */
@@ -132,14 +132,14 @@
 
 ////////////////////////////////////////////////////////////////////////////////////////
 
-	// The CB fifo is organized over the
-	// link list. The "used_pointer" is giving the
-	// starting point of the CB-fifo list. The "next_xxx"
-	// is giving the link to the next pointer and so on.
-	// used_pointer = FF means ->no cb messages stored
-	// next_used   = FF means ->end of the cb messages list.
-	// free_pointer = FF means ->no free spaces !
-	// next_used   = FF means ->end of the free spaces list
+    // The CB fifo is organized over the
+    // link list. The "used_pointer" is giving the
+    // starting point of the CB-fifo list. The "next_xxx"
+    // is giving the link to the next pointer and so on.
+    // used_pointer = FF means ->no cb messages stored
+    // next_used   = FF means ->end of the cb messages list.
+    // free_pointer = FF means ->no free spaces !
+    // next_used   = FF means ->end of the free spaces list
 
 /* Stored Cell Broadcast message attributes. */
 typedef struct
@@ -148,14 +148,14 @@
     USHORT          mid;              /* message identification          */
     UBYTE           dcs;                 /* data coding scheme              */
     UBYTE           page;                /* number of this page             */
-    UBYTE           pages;              	 /* number of total pages           */
-    UBYTE           msg_len;        	    /* length of short message         */
-    T_SMSCB_STATUS status;       	       /* Read status of this message.    */
-  	/*SPR 1920, removed name field*/
-	UBYTE 	    	 next_link;
-	/*SPR 1920, memory for header string now dynamically allocated as needed*/
-	char*			 header/*[25]*/; //header information for the menu list
-	UBYTE 	    	 start_page; //indicate the first page of the multipage; need for the menu list
+    UBYTE           pages;                   /* number of total pages           */
+    UBYTE           msg_len;                /* length of short message         */
+    T_SMSCB_STATUS status;                 /* Read status of this message.    */
+    /*SPR 1920, removed name field*/
+    UBYTE            next_link;
+    /*SPR 1920, memory for header string now dynamically allocated as needed*/
+    char*            header/*[25]*/; //header information for the menu list
+    UBYTE            start_page; //indicate the first page of the multipage; need for the menu list
 } T_SMSCB_ATT;
 
 T_MFW smscb_setCBsettings(UBYTE State);
--- a/src/ui/bmi/mmiSmsIdle.h	Tue Nov 10 06:01:15 2020 +0000
+++ b/src/ui/bmi/mmiSmsIdle.h	Tue Nov 10 06:08:42 2020 +0000
@@ -2,7 +2,7 @@
 #define _DEF_MMI_SMSIDLE_H_
 /*******************************************************************************
 
-					CONDAT (UK)
+                    CONDAT (UK)
 
 ********************************************************************************
 
@@ -11,14 +11,14 @@
 
 ********************************************************************************
 
- $Project name:	Basic MMI
- $Project code:	BMI (6349)
- $Module:		SMS
- $File:		    mmiSmsIdle.h
- $Revision:		1.0
+ $Project name: Basic MMI
+ $Project code: BMI (6349)
+ $Module:       SMS
+ $File:         mmiSmsIdle.h
+ $Revision:     1.0
 
- $Author:		Condat(UK)
- $Date:		    25/10/00
+ $Author:       Condat(UK)
+ $Date:         25/10/00
 
 ********************************************************************************
 
@@ -27,7 +27,7 @@
 ********************************************************************************
  $History: mmiSmsIdle.h
 
-	25/10/00			Original Condat(UK) BMI version.
+    25/10/00            Original Condat(UK) BMI version.
 
  $End
 
@@ -47,7 +47,7 @@
 #define PROMPTY         17
 
 /*NM p029*/
-#define TEXT_COMPRESSED 	0x20
+#define TEXT_COMPRESSED     0x20
 /* Marcus: Issue 1650: 28/01/2003: Start */
 #define TEXT_CLASS_GIVEN    0x10
 #define TEXT_CLASS_MASK     0x03
@@ -61,8 +61,8 @@
     E_BACK,
     E_ABORT,
     E_EXIT,
-	E_RETURN,
-	E_OK
+    E_RETURN,
+    E_OK
 } e_M_events;
 
 
--- a/src/ui/bmi/mmiSmsMenu.h	Tue Nov 10 06:01:15 2020 +0000
+++ b/src/ui/bmi/mmiSmsMenu.h	Tue Nov 10 06:08:42 2020 +0000
@@ -4,7 +4,7 @@
 
 /*******************************************************************************
 
-					CONDAT (UK)
+                    CONDAT (UK)
 
 ********************************************************************************
 
@@ -13,14 +13,14 @@
 
 ********************************************************************************
 
- $Project name:	Basic MMI
- $Project code:	BMI (6349)
- $Module:		SMS
- $File:		    mmiSmsMenu.h
- $Revision:		1.0
+ $Project name: Basic MMI
+ $Project code: BMI (6349)
+ $Module:       SMS
+ $File:         mmiSmsMenu.h
+ $Revision:     1.0
 
- $Author:		Condat(UK)
- $Date:		    25/10/00
+ $Author:       Condat(UK)
+ $Date:         25/10/00
 
 ********************************************************************************
 
@@ -34,26 +34,24 @@
 
  $History: mmiSmsMenu.h
 
-	25/10/00			Original Condat(UK) BMI version.
+    25/10/00            Original Condat(UK) BMI version.
 
  $End
 
 *******************************************************************************/
 #undef GLOBAL_EXT
 #if defined (MMI_SMSMENU_C)
-	#define GLOBAL_EXT
+    #define GLOBAL_EXT
 #else
-	#define GLOBAL_EXT extern
+    #define GLOBAL_EXT extern
 #endif
 
 
 #include "mfw_mfw.h"
 
 
-
-
 #define TIMER_EXIT  0x0BB8             /* Default SMS timer period - 3 secs.  */
-#define SHORT_SECS  0x01F4				/* Information dialogue display times. */
+#define SHORT_SECS  0x01F4             /* Information dialogue display times. */
 #define THREE_SECS  0x0BB8             /* 3000 milliseconds.                  */
 #define FIVE_SECS   0x1388             /* 5000 milliseconds.                  */
 #define TEN_SECS    0x2710             /* 10000 milliseconds.                 */
@@ -79,7 +77,6 @@
 EXTERN USHORT ConcatenateDisplay( struct MfwMnuTag *m, struct MfwMnuAttrTag *ma, struct MfwMnuItemTag *mi );
 
 
-
 // Entry points for the different SMS blocs
 GLOBAL_EXT int M_exeSendNew(MfwMnu* m, MfwMnuItem* i);
 GLOBAL_EXT int M_exeRead(MfwMnu* m, MfwMnuItem* i);
@@ -95,15 +92,15 @@
 int voice_mail_init (void);
 
 /***************************************************
-****											****
-****				DUMMY DECLARATIONS			****
-****											****
+****                                            ****
+****                DUMMY DECLARATIONS          ****
+****                                            ****
 ***************************************************/
 
 //Dummy defines
-#define TxtNotReady			1
-#define TxtNotDeleted		2
-#define TxtAllDeleted		3
+#define TxtNotReady         1
+#define TxtNotDeleted       2
+#define TxtAllDeleted       3
 #define TxtEnterVoiceNumber 4
 //Dummy functions (stubs)
 void SmsRead(void); // RAVI
--- a/src/ui/bmi/mmiSmsRead.h	Tue Nov 10 06:01:15 2020 +0000
+++ b/src/ui/bmi/mmiSmsRead.h	Tue Nov 10 06:08:42 2020 +0000
@@ -10,7 +10,7 @@
 
 /*******************************************************************************
 
-					CONDAT (UK)
+                    CONDAT (UK)
 
 ********************************************************************************
 
@@ -19,14 +19,14 @@
 
 ********************************************************************************
 
- $Project name:	Basic MMI
- $Project code:	BMI (6349)
- $Module:		SMS
- $File:		    mmiSmsRead.h
- $Revision:		1.0
+ $Project name: Basic MMI
+ $Project code: BMI (6349)
+ $Module:       SMS
+ $File:         mmiSmsRead.h
+ $Revision:     1.0
 
- $Author:		Condat(UK)
- $Date:		    25/10/00
+ $Author:       Condat(UK)
+ $Date:         25/10/00
 
 ********************************************************************************
 
@@ -39,7 +39,7 @@
 ********************************************************************************
  $History: mmiSmsRead.h
 
-	25/10/00			Original Condat(UK) BMI version.
+    25/10/00            Original Condat(UK) BMI version.
 
  $End
 
@@ -63,7 +63,7 @@
 #ifdef LSCREEN
 #define MENU_TEXT_LENGTH 50
 #else
-#define MENU_TEXT_LENGTH 16	//TBD: to include in common .h
+#define MENU_TEXT_LENGTH 16 //TBD: to include in common .h
 #endif
 #define MENU_HEADER_LENGTH (MENU_TEXT_LENGTH - 4) //TBD: to include in common .h
 
@@ -73,9 +73,9 @@
 
 typedef enum
 {
-	MMI_SMS_MO,
-	MMI_SMS_MT,
-	MMI_SMS_CB
+    MMI_SMS_MO,
+    MMI_SMS_MT,
+    MMI_SMS_CB
 } T_MMI_SMS_STAT;
 
 /*******************************************************************************
@@ -100,11 +100,11 @@
 *******************************************************************************/
 
 //Dummy defines
-#define SmsRead_R_ID 			100
-#define SmsRead_R_TEXTEDT_ID 	101
-#define SmsRead_R_TEXTEDT2_ID 	101	// Specific for approval
-#define SmsRead_R_OPT_ID 		102
-#define SmsRead_SMS_DISPLAY_ID	103
+#define SmsRead_R_ID            100
+#define SmsRead_R_TEXTEDT_ID    101
+#define SmsRead_R_TEXTEDT2_ID   101 // Specific for approval
+#define SmsRead_R_OPT_ID        102
+#define SmsRead_SMS_DISPLAY_ID  103
 #define SmsRead_R_READSMS_OPT_ID 104
 
 #define DEFAULT_FONT -1
@@ -117,6 +117,4 @@
 typedef ListCbFunc ListCbFunc_t;
 
 
-
-
 #endif /* _DEF_MMI_SMSMENU_H_ */
--- a/src/ui/bmi/mmiSmsSend.h	Tue Nov 10 06:01:15 2020 +0000
+++ b/src/ui/bmi/mmiSmsSend.h	Tue Nov 10 06:08:42 2020 +0000
@@ -20,12 +20,12 @@
 
  $Project name: Basic MMI
  $Project code: BMI (6349)
- $Module:   SMS
- $File:       mmismssend.h
- $Revision:   1.0
+ $Module:       SMS
+ $File:         mmismssend.h
+ $Revision:     1.0
 
- $Author:   Condat(UK)
- $Date:       25/10/00
+ $Author:       Condat(UK)
+ $Date:         25/10/00
 
 ********************************************************************************
 
@@ -121,8 +121,8 @@
 GLOBAL_EXT T_MFW_HND SmsSend_SAVE_start(T_MFW_HND parent_window, T_SmsUserData *UserData);
 GLOBAL_EXT T_MFW_HND V_start(T_MFW_HND parent_window, MfwMnuAttr *menuAttr);
 GLOBAL_EXT int M_callVoice(MfwMnu* m, MfwMnuItem* i);
-//	Feb 02, 2005   REF: CRR 28479   xnkulkar
-//	Prototype  of function mmi_dialog_information_screen_save_sms()
+//  Feb 02, 2005   REF: CRR 28479   xnkulkar
+//  Prototype  of function mmi_dialog_information_screen_save_sms()
 T_MFW_HND mmi_dialog_information_screen_save_sms(T_MFW_HND parent_win, int TxtId, char* text, T_VOID_FUNC call_back, USHORT identifier);
 int SmsSend_R_OPTExeCentreEdit(MfwMnu* m, MfwMnuItem* i);
 
@@ -133,6 +133,6 @@
 /* SPR#1428 - SH - New Editor: no longer required */
 #ifndef NEW_EDITOR
 //GW 29/11/01 - Added
-void		SmsSend_loadEditDefault(T_EDITOR_DATA * edit_info);
+void        SmsSend_loadEditDefault(T_EDITOR_DATA * edit_info);
 #endif /* NEW_EDITOR */
 #endif /* _DEF_MMI_SMSSEND_H_ */