FreeCalypso > hg > fc-tourmaline
diff src/ui/mfw/mfw_ss.h @ 188:92abb46dc1ba
src/ui/mfw/*.[ch]: rm trailing white space
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 19 Jan 2021 06:10:27 +0000 |
parents | 67bfe9f274f6 |
children |
line wrap: on
line diff
--- a/src/ui/mfw/mfw_ss.h Tue Jan 19 05:41:26 2021 +0000 +++ b/src/ui/mfw/mfw_ss.h Tue Jan 19 06:10:27 2021 +0000 @@ -18,84 +18,84 @@ Solution: Phone Lock ER implementation Feb 27, 2007 ER: OMAPS00113891 x0pleela - Description:[ACI] MTC related call forwarded SS notification not differentiable on + Description:[ACI] MTC related call forwarded SS notification not differentiable on BAT/ATI level - Solution: new enum value MFW_SS_MT_CALL_FORWARDED (MT call is forwarded - to another subscriber) is added for T_MFW_SS_NOTIFY_CODES + Solution: new enum value MFW_SS_MT_CALL_FORWARDED (MT call is forwarded + to another subscriber) is added for T_MFW_SS_NOTIFY_CODES Nov 13, 2006 DR: OMAPS00103356 x0pleela Description: SIMP:Master unlock failed through MMI Solution: Defined new enums: MFW_WRONG_PWD: will get returned if Master unlocking password is wrong MFW_MASTER_OK: will get returned if Master unlocking operation is successful - + Nov 03, 2005 DR: OMAPS00052032 - xpradipg - Description : Locosto: SIMP - integration of issues submitted by solDel on + Description : Locosto: SIMP - integration of issues submitted by solDel on ME Personalization - changes as per the new interfaces - Solution : The return value of sAT_PlusCLCK of AT_EXCT is handled and + Solution : The return value of sAT_PlusCLCK of AT_EXCT is handled and a please wait screen is displayed until the response is recieved - - * + + * * ***************** Version 14 ***************** * User: Vo Date: 22.02.00 Time: 14:09 * Updated in $/GSM/Condat/MS/SRC/MFW - * + * * ***************** Version 13 ***************** * User: Vo Date: 10.01.00 Time: 16:09 * Updated in $/GSM/Condat/MS/SRC/MFW - * + * * ***************** Version 12 ***************** * User: Ak Date: 10.01.00 Time: 13:14 * Updated in $/GSM/Condat/MS/SRC/MFW - * + * * ***************** Version 11 ***************** * User: Ak Date: 21.10.99 Time: 11:56 * Updated in $/GSM/Condat/MS/SRC/MFW * Why: Improvement * What: Passing of network basic service codes instead of GSM 2.30 * codes for SS control string results and invocations - * + * * ***************** Version 10 ***************** * User: Vo Date: 12.09.99 Time: 13:38 * Updated in $/GSM/DEV/MS/SRC/MFW * Bug fix: delete 'SS guidance' * New events, new structure and new prototype for USSD - * + * * ***************** Version 9 ***************** * User: Vo Date: 30.08.99 Time: 11:46 * Updated in $/GSM/DEV/MS/SRC/MFW * new return value MFW_SS_DIAL_IDX - * + * * ***************** Version 8 ***************** * User: Vo Date: 9.08.99 Time: 16:48 * Updated in $/GSM/DEV/MS/SRC/MFW * change structure for SS results * add structure for IMEI - * + * * ***************** Version 7 ***************** * User: Vo Date: 21.07.99 Time: 14:45 * Updated in $/GSM/DEV/MS/SRC/MFW - * + * * ***************** Version 6 ***************** * User: Vo Date: 9.07.99 Time: 14:57 * Updated in $/GSM/DEV/MS/SRC/MFW - * + * * ***************** Version 5 ***************** * User: Vo Date: 9.07.99 Time: 14:37 * Updated in $/GSM/DEV/MS/SRC/MFW - * + * * ***************** Version 4 ***************** * User: Vo Date: 2.07.99 Time: 15:32 * Updated in $/GSM/DEV/MS/SRC/MFW - * + * * ***************** Version 3 ***************** * User: Vo Date: 20.05.99 Time: 17:49 * Updated in $/GSM/DEV/MS/SRC/MFW - * + * * ***************** Version 2 ***************** * User: Vo Date: 12.02.99 Time: 18:59 * Updated in $/GSM/DEV/MS/SRC/MFW - * + * * ***************** Version 1 ***************** * User: Vo Date: 10.02.99 Time: 12:41 * Created in $/GSM/DEV/MS/SRC/MFW @@ -110,14 +110,14 @@ #include "ksd.h" #ifdef MAX_PWD_LEN /*a0393213 warnings removal-to prevent redefinition of MAX_PWD_LEN in some files*/ -#undef MAX_PWD_LEN +#undef MAX_PWD_LEN #endif #define MAX_PWD_LEN 8 #define MFW_SS_NUM_LEN 21 #define MFW_SS_SUBADR_LEN 21 #define MFW_SS_PWD_LEN 5 - + #define MFW_MAX_FEAT_NR 5 #define MFW_MAX_TELE_NR 5 #define MFW_MAX_SRV_NR 5 @@ -147,7 +147,7 @@ #define SS_STAT_UNKNOWN 0xFF /* SS codes */ -typedef enum +typedef enum { SS_CODES_UNKNOWN, SS_CF_ALL, @@ -187,22 +187,22 @@ } T_MFW_SS_CATEGORY; /* return values for type of key sequence */ -typedef enum +typedef enum { //x0pleela 23 Mar, 2007 ER : OMAPS00122561 #ifdef FF_PHONE_LOCK - MFW_SS_ALRDY_DIS = 101, + MFW_SS_ALRDY_DIS = 101, #endif /*FF_PHONE_LOCK*/ #ifdef SIM_PERS // Nov 03, 2005 DR: OMAPS00052032 - xpradipg // added new enum for execution in progress MFW_EXCT = 100, - //x0pleela 13 Nov, 2006 DR: OMAPS00103356 + //x0pleela 13 Nov, 2006 DR: OMAPS00103356 //This will get returned if Master unlocking operation is successful MFW_MASTER_OK = 200, - //x0pleela 13 Nov, 2006 DR: OMAPS00103356 + //x0pleela 13 Nov, 2006 DR: OMAPS00103356 //This will get returned if Master unlocking password is wrong - MFW_WRONG_PWD = -2, + MFW_WRONG_PWD = -2, MFW_FAILURE = -1, #endif MFW_SS_OK, @@ -216,7 +216,7 @@ MFW_SS_SIM_UNBLCK_PIN, MFW_SS_REGISTER, MFW_SS_CF, - MFW_SS_CB, + MFW_SS_CB, MFW_SS_CLIR, MFW_SS_CLIP, MFW_SS_COLR, @@ -235,23 +235,23 @@ } T_MFW_SS_RETURN; /* data coding scheme */ -typedef enum +typedef enum { MFW_DCS_7bits = 0x00, MFW_DCS_8bits = 0x04, MFW_DCS_UCS2 = 0x08, MFW_DCS_SIM, MFW_ASCII -}T_MFW_DCS; +}T_MFW_DCS; typedef enum { MFW_CL_UNKNOWN, MFW_CL_PERM, /* permanent */ MFW_CL_TEMP_DEF_REST, /* temporary default restricted */ - MFW_CL_TEMP_DEF_ALLOWED /* temporary default allowed */ + MFW_CL_TEMP_DEF_ALLOWED /* temporary default allowed */ } T_MFW_CL_STATUS; - + typedef enum { MFW_OV_UNKNOWN, @@ -294,14 +294,14 @@ MFW_SS_ERR_BEARER_SVC_NOT_PROV, MFW_SS_ERR_TELE_SVC_NOT_PROV, MFW_SS_ERR_ILLEGAL_EQUIPMENT, - MFW_SS_ERR_CALL_BARRED, + MFW_SS_ERR_CALL_BARRED, MFW_SS_ERR_ILLEGAL_SS_OPERATION, - MFW_SS_ERR_SS_ERR_STATUS, + MFW_SS_ERR_SS_ERR_STATUS, MFW_SS_ERR_SS_NOT_AVAIL, MFW_SS_ERR_SS_SUBS_VIOLATION, - MFW_SS_ERR_SS_INCOMP, + MFW_SS_ERR_SS_INCOMP, MFW_SS_ERR_FAC_NOT_SUPPORTED, - MFW_SS_ERR_ABSENT_SUBS, + MFW_SS_ERR_ABSENT_SUBS, MFW_SS_ERR_SYSTEM_FAIL, MFW_SS_ERR_DATA_MISSING, MFW_SS_ERR_UNEXPECT_DATA, @@ -337,7 +337,7 @@ } T_MFW_SS_ERROR; /* basic service type */ -typedef enum +typedef enum { MFW_BST_UNKNOWN = 0, MFW_BST_BEARER = 0x82, @@ -346,8 +346,8 @@ #define MFW_BS_TS_UNKNOWN (0xFF) /* unknown bearer and teleservice */ -/* teleservice */ -typedef enum +/* teleservice */ +typedef enum { MFW_TS_ALL_TS =0x0, /* all teleservices */ MFW_TS_ALL_SPCH =0x10, /* All speech transmission services */ @@ -382,7 +382,7 @@ } T_MFW_TELE_SERVICE; /* bearer service */ -typedef enum +typedef enum { MFW_BS_ALL_BS =0x0, /* all bearer services */ MFW_BS_ALL_DATA_CDA =0x10, /* all data CDA services */ @@ -463,7 +463,7 @@ }T_MFW_SS_CUG_INDEX; /* info of close user group cug */ -typedef enum +typedef enum { MFW_SS_CUG_INFO_Not_Present = -1, MFW_SS_CUG_INFO_NO, @@ -475,8 +475,8 @@ /* Call forwarding result */ typedef struct { - UBYTE ss_telecom_type; - UBYTE ss_telecom_service; + UBYTE ss_telecom_type; + UBYTE ss_telecom_service; UBYTE ss_status; UBYTE ss_numbering_type; UBYTE ss_numbering_plan; @@ -501,8 +501,8 @@ /* Call barring info */ typedef struct { - UBYTE ss_telecom_type; - UBYTE ss_telecom_service; + UBYTE ss_telecom_type; + UBYTE ss_telecom_service; UBYTE ss_status; UBYTE dummy1; UBYTE dummy2; @@ -515,7 +515,7 @@ typedef struct { T_MFW_SS_CODES ss_code; /* Type of call barring */ - T_MFW_SS_CATEGORY ss_category; /* Category of operation */ + T_MFW_SS_CATEGORY ss_category; /* Category of operation */ T_MFW_SS_ERROR ss_error; /* Error Value */ UBYTE ss_telecom_count; /* Number of telecom elements */ T_MFW_TELECOM *ss_telecom_list; /* telecom list */ @@ -528,8 +528,8 @@ /* Call waiting info */ typedef struct { - UBYTE ss_telecom_type; - UBYTE ss_telecom_service; + UBYTE ss_telecom_type; + UBYTE ss_telecom_service; UBYTE dummy1; UBYTE dummy2; UBYTE dummy3; @@ -537,7 +537,7 @@ UBYTE dummy5; UBYTE dummy6; } T_MFW_SRV_GROUP; - + /* Call waiting result */ typedef struct { @@ -657,12 +657,12 @@ EXTERN void ss_mfw_init (void); EXTERN void ss_exit (void); -EXTERN T_MFW_HND ss_create (T_MFW_HND hWin, - T_MFW_EVENT event, +EXTERN T_MFW_HND ss_create (T_MFW_HND hWin, + T_MFW_EVENT event, T_MFW_CB cbfunc); EXTERN T_MFW_RES ss_delete (T_MFW_HND h); EXTERN T_MFW_SS_RETURN ss_check_ss_string (UBYTE *string); -EXTERN T_MFW_SS_RETURN ss_execute_transaction (UBYTE *ss_string, +EXTERN T_MFW_SS_RETURN ss_execute_transaction (UBYTE *ss_string, UBYTE ussd_mand); EXTERN T_MFW ss_send_ussd (T_MFW_SS_USSD *ussd_info); EXTERN T_MFW ss_abort_transaction (void);