changeset 110:056d0a19ed5b

mmiGprs.h: bogotab fixes
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 09 Nov 2020 01:12:23 +0000
parents 00766e95ae43
children 4d3d71a22b9d
files src/ui/bmi/mmiGprs.h
diffstat 1 files changed, 54 insertions(+), 54 deletions(-) [+]
line wrap: on
line diff
--- a/src/ui/bmi/mmiGprs.h	Mon Nov 09 01:09:16 2020 +0000
+++ b/src/ui/bmi/mmiGprs.h	Mon Nov 09 01:12:23 2020 +0000
@@ -1,6 +1,6 @@
 /*******************************************************************************
 
-					CONDAT (UK)
+                    CONDAT (UK)
 
 ********************************************************************************
 
@@ -12,23 +12,23 @@
  $Project name:
  $Project code:
  $Module:
- $File:		    MmiGprs.h
+ $File:         MmiGprs.h
  $Revision:
 
- $Author:		Condat(UK)
+ $Author:       Condat(UK)
  $Date:
 
 ********************************************************************************
 
  Description:
- 	Header file for GPRS handling for MMI.
+    Header file for GPRS handling for MMI.
 
 
 ********************************************************************************
 
  $History: MmiGprs.h
 
-	15/05/2003 - SPR#1983 - SH - Updated to latest from 1.6.3 version.
+    15/05/2003 - SPR#1983 - SH - Updated to latest from 1.6.3 version.
 
  $End
 
@@ -37,8 +37,8 @@
 #ifndef _MMI_GPRS_H_
 #define _MMI_GPRS_H_
 
-#ifndef WIN32	// EF GPRS testing enabled for windows
-#undef TEST_MMIGPRS  	/* GPRS testing, gives extra menu functions */
+#ifndef WIN32   // EF GPRS testing enabled for windows
+#undef TEST_MMIGPRS     /* GPRS testing, gives extra menu functions */
 #endif
 
 /*******************************************************************************
@@ -51,60 +51,60 @@
 
 enum
 {
-	GPRS_NOTHING = -1,			/* Nothing - no event to send */
-	GPRS_OFF = 0,				/* GPRS is not attached */
-	GPRS_SEARCHING,
-	GPRS_ATTACHED,				/* GPRS is attached */
-	GPRS_CONTEXT_ACTIVATE,		/* PDP context is activated */
-	GPRS_CONTEXT_DEACTIVATE,	/* PDP context is deactivated */
-	GPRS_ERROR					/* General GPRS error */
+    GPRS_NOTHING = -1,          /* Nothing - no event to send */
+    GPRS_OFF = 0,               /* GPRS is not attached */
+    GPRS_SEARCHING,
+    GPRS_ATTACHED,              /* GPRS is attached */
+    GPRS_CONTEXT_ACTIVATE,      /* PDP context is activated */
+    GPRS_CONTEXT_DEACTIVATE,    /* PDP context is deactivated */
+    GPRS_ERROR                  /* General GPRS error */
 };
 
 #if (BOARD == 61)
 /* EDGE states */
 enum
 {
-	EDGE_NOTHING = -1,			/* Nothing - no event to send */
-	EDGE_OFF = 0,				/* EDGE is not attached */
-	EDGE_SEARCHING,
-	EDGE_ATTACHED,				/* EDGE is attached */
-	EDGE_CONTEXT_ACTIVATE,		/* PDP context is activated */
-	EDGE_CONTEXT_DEACTIVATE,	/* PDP context is deactivated */
-	EDGE_ERROR					/* General EDGE error */
+    EDGE_NOTHING = -1,          /* Nothing - no event to send */
+    EDGE_OFF = 0,               /* EDGE is not attached */
+    EDGE_SEARCHING,
+    EDGE_ATTACHED,              /* EDGE is attached */
+    EDGE_CONTEXT_ACTIVATE,      /* PDP context is activated */
+    EDGE_CONTEXT_DEACTIVATE,    /* PDP context is deactivated */
+    EDGE_ERROR                  /* General EDGE error */
 };
 #endif
 
 typedef enum
 {
-	MMI_GPRS_STATUS_IDLE,
-	MMI_GPRS_STATUS_ATTACHING,
-	MMI_GPRS_STATUS_DETACHING,
-	MMI_GPRS_STATUS_DATA_COUNTER
+    MMI_GPRS_STATUS_IDLE,
+    MMI_GPRS_STATUS_ATTACHING,
+    MMI_GPRS_STATUS_DETACHING,
+    MMI_GPRS_STATUS_DATA_COUNTER
 }E_MMI_GPRS_STATUS;
 
 /* SMS options */
 
 enum
 {
-	SMS_SERVICE_GPRS = 0,
-	SMS_SERVICE_CS,
-	SMS_SERVICE_GPRS_PREF,
-	SMS_SERVICE_CS_PREF,
-	SMS_SERVICE_OMITTED = 0xFF
+    SMS_SERVICE_GPRS = 0,
+    SMS_SERVICE_CS,
+    SMS_SERVICE_GPRS_PREF,
+    SMS_SERVICE_CS_PREF,
+    SMS_SERVICE_OMITTED = 0xFF
 };
 
 /* Quality of service (QOS) parameters */
 
 enum
 {
-	QOS_PRECED_HIGH = 1,
-	QOS_PRECED_NORMAL,
-	QOS_PRECED_LOW
+    QOS_PRECED_HIGH = 1,
+    QOS_PRECED_NORMAL,
+    QOS_PRECED_LOW
 };
 
 enum
 {
-	QOS_BEST = 1
+    QOS_BEST = 1
 };
 
 /* Callback function */
@@ -144,37 +144,37 @@
 
 *******************************************************************************/
 
-#define ULONG_SIZE_IN_DECIMAL		10		/* Max no. of decimal digits a ULONG can have */
-#define KILOBYTE					1024	/* No of bytes in a kilobyte, used for data counter calculation. */
-#define PLEASEWAIT_TIMEOUT			35000	/* Time for "please wait" window to time out */
+#define ULONG_SIZE_IN_DECIMAL       10      /* Max no. of decimal digits a ULONG can have */
+#define KILOBYTE                    1024    /* No of bytes in a kilobyte, used for data counter calculation. */
+#define PLEASEWAIT_TIMEOUT          35000   /* Time for "please wait" window to time out */
 
 /* Counter types */
 
 typedef enum
 {
-	MMI_GPRS_COUNTER_UPLINK,
-	MMI_GPRS_COUNTER_DOWNLINK
+    MMI_GPRS_COUNTER_UPLINK,
+    MMI_GPRS_COUNTER_DOWNLINK
 } T_MMI_GPRS_COUNTER;
 
 /* GPRS data */
 
 typedef struct
 {
-	T_MFW_HND		mfw_gprs;				/* Provide a handle to the GPRS information. */
-	UBYTE			cid;					/* The context id.  Starts at 1 then increments. */
-	UBYTE			reg_status;				/* Registration status */
-	MfwHnd 			pleasewait_win;			/* Handle for the Please Wait window */
-	MfwHnd 			edit_win;				/* Handle for editor window */
-	MfwHnd			menu_win;				/* Handler for menu windows */
-	char			*counterstring;			/* String for counter digits */
-	ULONG			uplink_counter;			/* Value of uplink counter */
-	ULONG			downlink_counter;		/* Value of downlink counter */
-	USHORT			counter_type;			/* TRUE if uplink counter has been requested */
-	UBYTE			sms_service;				/* Type of SMS service */
-	BOOL			display;				/* Whether to display "OK" windows or not */
-	USHORT			status;					/* Current status */
-	T_MFW_HND		notify_win;				/* Window to which to send notification */
-	T_GPRS_CB		callback;				/* MMI provided callback function */
+    T_MFW_HND       mfw_gprs;               /* Provide a handle to the GPRS information. */
+    UBYTE           cid;                    /* The context id.  Starts at 1 then increments. */
+    UBYTE           reg_status;             /* Registration status */
+    MfwHnd          pleasewait_win;         /* Handle for the Please Wait window */
+    MfwHnd          edit_win;               /* Handle for editor window */
+    MfwHnd          menu_win;               /* Handler for menu windows */
+    char            *counterstring;         /* String for counter digits */
+    ULONG           uplink_counter;         /* Value of uplink counter */
+    ULONG           downlink_counter;       /* Value of downlink counter */
+    USHORT          counter_type;           /* TRUE if uplink counter has been requested */
+    UBYTE           sms_service;            /* Type of SMS service */
+    BOOL            display;                /* Whether to display "OK" windows or not */
+    USHORT          status;                 /* Current status */
+    T_MFW_HND       notify_win;             /* Window to which to send notification */
+    T_GPRS_CB       callback;               /* MMI provided callback function */
 }
 T_MMI_GPRS_DATA;