diff src/ui/bmi/mmiIdle.h @ 55:eca2202f630f

src/ui/bmi/mmiIdle.[ch]: 4-character bogotab cleanup
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 20 Oct 2020 20:52:17 +0000
parents 67bfe9f274f6
children c0052fe355d3
line wrap: on
line diff
--- a/src/ui/bmi/mmiIdle.h	Tue Oct 20 04:11:55 2020 +0000
+++ b/src/ui/bmi/mmiIdle.h	Tue Oct 20 20:52:17 2020 +0000
@@ -1,22 +1,22 @@
 /*******************************************************************************
 
-					CONDAT (UK)
+                    CONDAT (UK)
 
-********************************************************************************                                                                              
+********************************************************************************
 
  This software product is the property of Condat (UK) Ltd and may not be
- disclosed to any third party without the express permission of the owner.                                 
-                                                                              
+ disclosed to any third party without the express permission of the owner.
+
 ********************************************************************************
 
- $Project name:	Basic MMI                                                      
- $Project code:	BMI (6349)                                                           
- $Module:		Call
- $File:		    MmiIdle.h
- $Revision:		1.0                                                       
+ $Project name: Basic MMI                                                      
+ $Project code: BMI (6349)
+ $Module:       Call
+ $File:         MmiIdle.h
+ $Revision:     1.0                                                       
                                                                               
- $Author:		Condat(UK)                                                         
- $Date:		    25/10/00                                                      
+ $Author:       Condat(UK)
+ $Date:         25/10/00                                                      
                                                                                
 ********************************************************************************
                                                                               
@@ -28,21 +28,21 @@
        Mar 30, 2007 OMAPS00123019 a0393213(R.Prabakar0
        Description : Reboot of the target when you unplug/plug USB cable using camera application
        
- 	Oct 13, 2006 OMAPS00095266 a0393213(R.Prabakar)
- 	Description : CT-GCF[27.22.4.22.1]-Incorrect string display
- 	Solution     : The DCS attribute is set dynamically
+    Oct 13, 2006 OMAPS00095266 a0393213(R.Prabakar)
+    Description : CT-GCF[27.22.4.22.1]-Incorrect string display
+    Solution     : The DCS attribute is set dynamically
 
-	xashmic 27 Sep 2006, OMAPS00096389 
-	ENH - a) Providing static menu for re-selection of enum options for enumeration
-	b) Popup menu displayed on connect event, can be enabled or disabled via menu option
- 	
-	xrashmic 9 Sep 2006, OMAPS00092732
-	USBMS ER
+    xashmic 27 Sep 2006, OMAPS00096389 
+    ENH - a) Providing static menu for re-selection of enum options for enumeration
+    b) Popup menu displayed on connect event, can be enabled or disabled via menu option
+    
+    xrashmic 9 Sep 2006, OMAPS00092732
+    USBMS ER
 
        July 12, 2006    REF:DR OMAPS00081477   x0047075
-	Description:   SMS (with SMS Report Indicator +CDS Enabled) Reset Issue.
-	Solution: Added a window handler for the sms status editor.
-	              If sms status editor does not exist, create it.If it already exists Update the same.
+    Description:   SMS (with SMS Report Indicator +CDS Enabled) Reset Issue.
+    Solution: Added a window handler for the sms status editor.
+                  If sms status editor does not exist, create it.If it already exists Update the same.
  
     Jun 06, 2006 DR: OMAPS00080543 - xreddymn
     Changes to display long SAT messages correctly on idle screen.
@@ -50,19 +50,19 @@
     May 15, 2006 DR: OMAPS00075852 - xreddymn
     Do not display messages on Idle screen when inside the dialer.
 
- 	Mar 14, 2006 DR: OMAPS00061468 - x0035544.
-   	Description: SAT 27.22.4.22.2 SET UP IDLE MODE TEXT (Icon support) fails 
-   	Solution : Added additional parameter to the prototype of  addSatMessage() to hold the display type
-   	for  SAT idle text with icon support.
+    Mar 14, 2006 DR: OMAPS00061468 - x0035544.
+    Description: SAT 27.22.4.22.2 SET UP IDLE MODE TEXT (Icon support) fails 
+    Solution : Added additional parameter to the prototype of  addSatMessage() to hold the display type
+    for  SAT idle text with icon support.
 
- 	Sept 15, 2005    REF: CRR 32410  x0021334
-	Description: The keypad unlocks even though the unlocking sequence is not executed in quick succession.
- 	Fix:	A new timer expiry event is added and handled.
+    Sept 15, 2005    REF: CRR 32410  x0021334
+    Description: The keypad unlocks even though the unlocking sequence is not executed in quick succession.
+    Fix:    A new timer expiry event is added and handled.
 
         xrashmic 26 Aug, 2004 MMI-SPR-23931
         
-	25/10/00			Original Condat(UK) BMI version.	
-	   
+    25/10/00            Original Condat(UK) BMI version.    
+       
  $End
 
 *******************************************************************************/
@@ -80,7 +80,7 @@
 #ifndef _DEF_MMI_IDLE_H_
 #define _DEF_MMI_IDLE_H_
 
-#define EDITOR_SIZE 41					/* SPR761 - SH - Moved from MmiIdle.c, changed to 41 */
+#define EDITOR_SIZE 41                  /* SPR761 - SH - Moved from MmiIdle.c, changed to 41 */
 
 /* xreddymn OMAPS00080543 Jun-06-2006
  * Maximum length allowed for SAT messages on Idle Screen.
@@ -88,9 +88,9 @@
 #define MAX_SATMSG_LEN                  296
 
 typedef enum
-{										/* REASONS                  */
- IdleNone = IdleDummy,					/* no reason                */
- IdleNormal,							/* normal idle mode         */
+{                                       /* REASONS                  */
+ IdleNone = IdleDummy,                  /* no reason                */
+ IdleNormal,                            /* normal idle mode         */
  IdleUpdate,
  IdleSearchNetwork,
  IdleNewSmsMessage,
@@ -99,21 +99,21 @@
  IdleNewCBNormalMessage
 } E_IDLE_TYPE; /*a0393213 warnings removal-typedef name given*/
 
-//	Sept 15, 2005    REF: CRR 32410  x0021334
-//	Description: The keypad unlocks even though the unlocking sequence is not executed in quick succession.
-// 	Added a new enum member IDLE_KEYPAD_UNLOCK_TIMER_EXPIRED
+//  Sept 15, 2005    REF: CRR 32410  x0021334
+//  Description: The keypad unlocks even though the unlocking sequence is not executed in quick succession.
+//  Added a new enum member IDLE_KEYPAD_UNLOCK_TIMER_EXPIRED
 typedef enum
-{										/* REASONS                  */
-	IDLE_NO_NETWORK,
-	IDLE_UPDATE,
-	IDLE_NEW_SMS,
-	IDLE_ACTIVE_KEY_PAD_LOCKED,
-	IDLE_DETAILS_NUMBER,
-	IDLE_DIALLING_INIT,
-	IDLE_INFO_ENDED,
-	IDLE_KEYPAD_LOCKED_UPDATE,
-	IDLE_START_DIALLING_NUMBER,
-	IDLE_KEYPAD_UNLOCK_TIMER_EXPIRED 
+{                                       /* REASONS                  */
+    IDLE_NO_NETWORK,
+    IDLE_UPDATE,
+    IDLE_NEW_SMS,
+    IDLE_ACTIVE_KEY_PAD_LOCKED,
+    IDLE_DETAILS_NUMBER,
+    IDLE_DIALLING_INIT,
+    IDLE_INFO_ENDED,
+    IDLE_KEYPAD_LOCKED_UPDATE,
+    IDLE_START_DIALLING_NUMBER,
+    IDLE_KEYPAD_UNLOCK_TIMER_EXPIRED 
 } E_IDLE_EVENTS; /*a0393213 warnings removal-typedef name given*/
 
 typedef enum
@@ -122,67 +122,67 @@
 } Version_events;
 
 
-#define SHOW_CPRS_DEACTIV   	0
-#define SHOW_CPRS_ACITV			1		
-#define DONT_SHOW_CPRS			2 //not allowed to show any indication
+#define SHOW_CPRS_DEACTIV       0
+#define SHOW_CPRS_ACITV         1       
+#define DONT_SHOW_CPRS          2 //not allowed to show any indication
 
 /*
 *  The information related to every window must be encapsulated in such an structure
 */
 typedef struct
 {
-    T_MMI_CONTROL   mmi_control;		// this a common parameter in every structure
-	T_MFW_HND win;						// windows handler, another common parameter
-	T_MFW_HND kbd;						// To control all of the events, 2 handler are needed kbd that handles the key press
-    T_MFW_HND kbd_long;					// event and kbd_long that handles the release and long key event.
-#ifdef NEW_EDITOR						/* SPR#1428 - SH - New Editor changes */
-	T_ED_DATA *editor;
-	T_ED_DATA *editor_sat;
-	T_MFW_HND sms_status_editor;    //July 12, 2006    REF:DR OMAPS00081477  x0047075 Fix:Handler for the sms status editor
+    T_MMI_CONTROL   mmi_control;        // this a common parameter in every structure
+    T_MFW_HND win;                      // windows handler, another common parameter
+    T_MFW_HND kbd;                      // To control all of the events, 2 handler are needed kbd that handles the key press
+    T_MFW_HND kbd_long;                 // event and kbd_long that handles the release and long key event.
+#ifdef NEW_EDITOR                       /* SPR#1428 - SH - New Editor changes */
+    T_ED_DATA *editor;
+    T_ED_DATA *editor_sat;
+    T_MFW_HND sms_status_editor;    //July 12, 2006    REF:DR OMAPS00081477  x0047075 Fix:Handler for the sms status editor
 #else /* NEW_EDITOR */
     T_MFW_HND edt;
-    T_MFW_HND edt_sat;					/* SPR759 - SH*/
+    T_MFW_HND edt_sat;                  /* SPR759 - SH*/
     T_MFW_HND sms_status_edt;          //July 12,2006 REF:DR OMAPS00081477 x0047075 Fix:Handler for the sms status editor
 #endif /* NEW_EDITOR */
-	T_MFW_HND info_win;
-	T_MFW_HND klck_win;				// Keypad Locked Window Handler
-	int missedCalls;
-	int ems; //xrashmic 26 Aug, 2004 MMI-SPR-23931
-	UBYTE search;
-	UBYTE flagIdle;
+    T_MFW_HND info_win;
+    T_MFW_HND klck_win;             // Keypad Locked Window Handler
+    int missedCalls;
+    int ems; //xrashmic 26 Aug, 2004 MMI-SPR-23931
+    UBYTE search;
+    UBYTE flagIdle;
     USHORT nm_status;
-    	char edt_buf[EDITOR_SIZE];			/* SPR761 - SH - Changed from a number to a constant */
-#ifdef NEW_EDITOR						/* SPR#1428 - SH - New Editor changes */
-	T_ED_ATTR editor_attr;				/* Dialling editor */
-	T_ED_ATTR editor_attr2;				/* CB editor */
-	T_ED_ATTR editor_attr3;				/* CLASS 0 SMS editor */
-	T_ED_ATTR editor_attr_sat;			/* SAT & Homezone editor */
+    char edt_buf[EDITOR_SIZE];          /* SPR761 - SH - Changed from a number to a constant */
+#ifdef NEW_EDITOR                       /* SPR#1428 - SH - New Editor changes */
+    T_ED_ATTR editor_attr;              /* Dialling editor */
+    T_ED_ATTR editor_attr2;             /* CB editor */
+    T_ED_ATTR editor_attr3;             /* CLASS 0 SMS editor */
+    T_ED_ATTR editor_attr_sat;          /* SAT & Homezone editor */
 #else /* NEW_EDITOR */
-	MfwEdtAttr edt_attr;				//this one for the dialling editor
-	MfwEdtAttr edt_attr2;				//this is for the CB editor
-	MfwEdtAttr edt_attr3;				//this is for the (only CLASS 0) SMS editor	
-	MfwEdtAttr edt_attr_sat;			/* SPR759 - SH*/
+    MfwEdtAttr edt_attr;                //this one for the dialling editor
+    MfwEdtAttr edt_attr2;               //this is for the CB editor
+    MfwEdtAttr edt_attr3;               //this is for the (only CLASS 0) SMS editor 
+    MfwEdtAttr edt_attr_sat;            /* SPR759 - SH*/
 #endif /* NEW_EDITOR */
-	char imei[16];
+    char imei[16];
     /* xreddymn OMAPS00075852 May-15-2006
      * This will be set to TRUE when dialer is being displayed.
      */
     UBYTE dialer_visible;
     UBYTE new_sms;
     UBYTE new_cbch;
-	CHAR incoming_cb_msg[MAX_CBMSG_LEN]; 
-	/*NM, p019*/
-	CHAR incoming_sms_msg[MAX_MSG_LEN_SGL]; 	
+    CHAR incoming_cb_msg[MAX_CBMSG_LEN]; 
+    /*NM, p019*/
+    CHAR incoming_sms_msg[MAX_MSG_LEN_SGL];     
     UBYTE right_key_pressed;
     UBYTE silent_mode;
     UBYTE clean_screen;
     UBYTE ciphering;
     UBYTE starting_up;                  /*SPR#1662 - NH - New field for checking the start up status */
     /* xreddymn OMAPS00080543 Jun-06-2006 */
-    CHAR incoming_sat_msg[MAX_SATMSG_LEN];		/* SPR759 - SH*/
-    T_BITMAP* idleNetLogo;				//Background for idle screen - NULL if no background.
-	T_BITMAP * idleBgd;				//Background image on the idle Screen    
-    int defTextOffset;				//start point for text (may vary with bitmap ?)
+    CHAR incoming_sat_msg[MAX_SATMSG_LEN];      /* SPR759 - SH*/
+    T_BITMAP* idleNetLogo;              //Background for idle screen - NULL if no background.
+    T_BITMAP * idleBgd;             //Background image on the idle Screen    
+    int defTextOffset;              //start point for text (may vary with bitmap ?)
 } T_idle;
 
 extern UBYTE KeyPadLock;
@@ -219,9 +219,9 @@
 */
 #ifdef FF_MMI_SAT_ICON
 void addSatMessage(char *satMessage, UBYTE width, UBYTE height,
-						char *dst, UBYTE selfExplanatory, T_DISPLAY_TYPE display_type);
+                   char *dst, UBYTE selfExplanatory, T_DISPLAY_TYPE display_type);
 #else
-void addSatMessage(char *satMessage);		/* SPR759 - SH*/
+void addSatMessage(char *satMessage);       /* SPR759 - SH*/
 #endif
 extern void showIMEI (T_MFW_HND win, char* IMEI);
 void idle_setBgdBitmap(int bmp);