changeset 121:c106cb01dfa4

mmiServices.h: bogotab fixes
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 10 Nov 2020 05:56:53 +0000
parents 262aa591dc7a
children 88229017434c
files src/ui/bmi/mmiServices.h
diffstat 1 files changed, 49 insertions(+), 56 deletions(-) [+]
line wrap: on
line diff
--- a/src/ui/bmi/mmiServices.h	Tue Nov 10 05:53:04 2020 +0000
+++ b/src/ui/bmi/mmiServices.h	Tue Nov 10 05:56:53 2020 +0000
@@ -1,6 +1,6 @@
 /*******************************************************************************
 
-					CONDAT (UK)
+                    CONDAT (UK)
 
 ********************************************************************************
 
@@ -9,14 +9,14 @@
 
 ********************************************************************************
 
- $Project name:	Basic MMI
- $Project code:	BMI (6349)
- $Module:		Services
- $File:		    MmiServices.h
- $Revision:		1.0
+ $Project name: Basic MMI
+ $Project code: BMI (6349)
+ $Module:       Services
+ $File:         MmiServices.h
+ $Revision:     1.0
 
- $Author:		Condat(UK)
- $Date:		    25/10/00
+ $Author:       Condat(UK)
+ $Date:         25/10/00
 
 ********************************************************************************
 
@@ -29,11 +29,11 @@
        Description : CPHS Call Forwarding feature implementation
        Solution     : As part of implementation, in this file, some #defines and structure definitions are moved from
                          MmiServices.c to MmiServices.h
-	Jun 02,2004 CRR:13649 xpradipg-SASKEN
-	subject: CBA : Management of password
-  	solution: password is promted on selecting activation/deactivation option as against the previous
-  	case where it was shown up on selecting CallBarring option in the Network Services menu.
-	25/10/00			Original Condat(UK) BMI version.
+    Jun 02,2004 CRR:13649 xpradipg-SASKEN
+    subject: CBA : Management of password
+    solution: password is promted on selecting activation/deactivation option as against the previous
+    case where it was shown up on selecting CallBarring option in the Network Services menu.
+    25/10/00            Original Condat(UK) BMI version.
 
  $End
 
@@ -47,7 +47,6 @@
  */
 
 
-
 /*
  * Top Window Defintions
  */
@@ -56,8 +55,6 @@
 void        services               (T_MFW_HND win, USHORT event, SHORT value, void * parameter);
 
 
-
-
 /*
  * Event definitions
  */
@@ -74,25 +71,25 @@
                                         /* REASONS                  */
 typedef enum
 {
-	ServicesIdle = ServicesDummy,
-	ServicesOk,
-	ServicesFailed,
-	ServicesActCW,
-	ServicesDeactCW,
-	ServicesCheckCW,
-	ServicesCheckCW_OK,
+    ServicesIdle = ServicesDummy,
+    ServicesOk,
+    ServicesFailed,
+    ServicesActCW,
+    ServicesDeactCW,
+    ServicesCheckCW,
+    ServicesCheckCW_OK,
     ServicesActCF,
     ServicesDeactCF,
     ServicesCheckCF,
-	ServicesCFU_OK,
+    ServicesCFU_OK,
     ServicesCB_OK,
     ServicesExecCF,
     ServicesDoCallDivert,
-	ServicesResShow,
+    ServicesResShow,
     ServicesActCLIR,
-	ServicesDeactCLIR,
-	ServicesCheckCLIR,
-	ServicesCheckCLI_OK,
+    ServicesDeactCLIR,
+    ServicesCheckCLIR,
+    ServicesCheckCLI_OK,
     ServicesIMEI_OK,
     ServicesUSSD_REQ_OK,
     ServicesUSSD_CNF_OK,
@@ -163,9 +160,9 @@
 typedef struct
 {
     T_MMI_CONTROL   mmi_control;
-	T_MFW_HND       win;     // window handle
+    T_MFW_HND       win;     // window handle
     T_MFW_HND       ss_handle;   /* MFW services handler  */
-	T_MFW_HND       kbd;
+    T_MFW_HND       kbd;
     T_MFW_HND       kbd_long;
 //    T_MFW_CM_AOC_INFO aocInfo;
     T_MFW_HND       info_win;  /* handle to info dialog */
@@ -174,13 +171,13 @@
     T_MFW_HND       input_number_win;  /* handle to call forward dialog */
 
     USHORT            event;
-  	char              edt_buf_name[MAX_ALPHA_LEN];/*MC SPR 1257*/
-	char              edt_buf_number[PHB_MAX_LEN];
-  	char              edt_buf_cb_password[CB_PSW_LEN+1];
-  	char              edt_buf_cb_new_password[CB_PSW_LEN+1];
-  	char              edt_buf_cb_conf_new_password[CB_PSW_LEN+1];
-#ifndef NEW_EDITOR			/* SPR#1428 - SH - New Editor changes - no longer required */
-	MfwEdtAttr        edt_attr_name;
+    char              edt_buf_name[MAX_ALPHA_LEN];/*MC SPR 1257*/
+    char              edt_buf_number[PHB_MAX_LEN];
+    char              edt_buf_cb_password[CB_PSW_LEN+1];
+    char              edt_buf_cb_new_password[CB_PSW_LEN+1];
+    char              edt_buf_cb_conf_new_password[CB_PSW_LEN+1];
+#ifndef NEW_EDITOR          /* SPR#1428 - SH - New Editor changes - no longer required */
+    MfwEdtAttr        edt_attr_name;
     MfwEdtAttr        edt_attr_number;
 #endif /* ifndef NEW_EDITOR */
     T_ss_feature_cf * mfw_ss_cf;
@@ -190,21 +187,21 @@
     UBYTE             max_feature;
     UBYTE             dcs;  /* need it for sending ussd to mfw */
 
-	/*
-	** NDH : 28/08/2003
-	**
-	** cfu_services is a binary flag to determine which (if any) of the Call Frwd Uncond
-	** services are active. The map is as follows :
-	**		bit 0 : Voice Calls	( & 0x01)
-	**		bit 1 : Fax Calls	( & 0x02)
-	**		bit 2 : Data Calls	( & 0x04)
-	**		bit 3 : SMS		( & 0x08)
-	**		bit 4 : unused - for future expansion
-	**		bit 5 : unused - for future expansion
-	**		bit 6 : unused - for future expansion
-	**		bit 7 : unused - for future expansion
-	*/
-	UBYTE             cfu_services;
+    /*
+    ** NDH : 28/08/2003
+    **
+    ** cfu_services is a binary flag to determine which (if any) of the Call Frwd Uncond
+    ** services are active. The map is as follows :
+    **      bit 0 : Voice Calls ( & 0x01)
+    **      bit 1 : Fax Calls   ( & 0x02)
+    **      bit 2 : Data Calls  ( & 0x04)
+    **      bit 3 : SMS     ( & 0x08)
+    **      bit 4 : unused - for future expansion
+    **      bit 5 : unused - for future expansion
+    **      bit 6 : unused - for future expansion
+    **      bit 7 : unused - for future expansion
+    */
+    UBYTE             cfu_services;
 } T_ss;
 
 EXTERN T_ss ss_data;
@@ -266,8 +263,6 @@
 void servicesExec (int reason, MmiState next);
 
 
-
-
 void servicesDivertActivate(void);
 void servicesDivertDeactivate(void);
 void servicesDivertCheck(void);
@@ -325,5 +320,3 @@
 
 void featurePlaceholder(void); //SPR#1113 - DS - Added prototype for placeholder function for not-yet-implemented features.
 #endif
-
-