comparison src/aci2/bmi/mmiCPHS.h @ 120:3c2acfa1a72f

src/aci2/bmi: file renames to make filename case consistent
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 07 Oct 2016 03:46:05 +0000
parents src/aci2/bmi/MmiCPHS.h@93999a60b835
children
comparison
equal deleted inserted replaced
119:b92a33c204b6 120:3c2acfa1a72f
1 #ifndef _MMI_CPHS_H_
2 #define _MMI_CPHS_H_
3
4 /*******************************************************************************
5
6 CONDAT (UK)
7
8 ********************************************************************************
9
10 This software product is the property of Condat (UK) Ltd and may not be
11 disclosed to any third party without the express permission of the owner.
12
13 ********************************************************************************
14
15 $Project name: Basic MMI
16 $Project code: BMI (6349)
17 $Module: CPHS
18 $File: MmiCPHS.h
19 $Revision: 1.0
20
21 $Author: Condat(UK)
22 $Date: 25/01/02
23
24 ********************************************************************************
25
26 Description:
27
28 Handles CPHS functionality
29
30
31 ********************************************************************************
32 $History: MmiCPHS.h
33
34 // May 31, 2004 REF: CRR 17291 xvilliva
35 // Bug: After power cycle the setting of the used line which have been made
36 // from the BMI is lost.
37 // Fix: The global variable g_Pin2 is declared here.
38
39 25/01/02 Original Condat(UK) BMI version.
40
41 $End
42
43 *******************************************************************************/
44 #include "mfw_cphs.h"
45 #include "mfw_mfw.h"
46 #include "MmiBookShared.h"
47 #include "mfw_mnu.h"
48
49 typedef enum
50 {
51 LINE1,
52 LINE2,
53 FAX,
54 DATA
55 } ALS_lines;
56 #define VOICEMAIL 0x7070
57 typedef enum
58 {
59 MAILBOX,
60 CHECK_STATUS
61 } T_CPHS_FUNCS;
62
63 //xvilliva SPR17291
64 extern char g_pin2[MAX_PIN+1];
65
66 //initialise CPHS
67 T_MFW_HND mmi_cphs_init(void); // RAVI
68
69 //call mailbox numbers
70 int menu_cphs_call_mailbox_number(MfwMnu* m, MfwMnuItem* i);
71
72 //edit mailbox numbers
73 int menu_cphs_edit_mailbox_number(MfwMnu* m, MfwMnuItem* i);
74
75 //get operator name from CPHS SIM
76 T_MFW_CPHS_OP_NAME* CphsRequestOperatorName(void); // RAVI
77
78 //returns TRUE if present
79 UBYTE CphsPresent(void); // RAVI
80
81 //returns TRUE if SIM configured for mailbox number
82 USHORT CphsMailboxPresent(void /* struct MfwMnuTag *m, struct MfwMnuAttrTag *ma, struct MfwMnuItemTag *mi*/ ); // RAVI
83
84 //Get voicemail status, returns status of line requested in parameter
85 T_MFW_CFLAG_STATUS GetCphsVoicemailStatus(UBYTE line);
86
87 //get call forwarding status of specified line
88 T_MFW_CFLAG_STATUS GetCphsDivertStatus(UBYTE line);
89
90 //get current enabled ALS line
91 int cphs_als_status(MfwMnu* m, MfwMnuItem* i);
92
93 // Set the current CPHS ALS lock status
94 int cphs_lock_als(MfwMnu* m, MfwMnuItem* i);
95 int cphs_unlock_als(MfwMnu* m, MfwMnuItem* i);
96
97 //Set ALS line to Line 1
98 int cphs_line1_select(MfwMnu* m, MfwMnuItem* i);
99
100 //Set ALS line to Line 2
101 int cphs_line2_select(MfwMnu* m, MfwMnuItem* i);
102
103 //Display any info numbers
104 int InfoNumbers( MfwMnu *m, MfwMnuItem *i );
105
106 //Pop up a dialogue
107 void ShowMessage(T_MFW_HND win, USHORT TextId1, USHORT TextId2);
108
109 //check if ALS
110 USHORT ALSPresent( struct MfwMnuTag *m, struct MfwMnuAttrTag *ma, struct MfwMnuItemTag *mi );
111 USHORT CphsALSUnlocked( struct MfwMnuTag *m, struct MfwMnuAttrTag *ma, struct MfwMnuItemTag *mi );
112 USHORT CphsALSLocked( struct MfwMnuTag *m, struct MfwMnuAttrTag *ma, struct MfwMnuItemTag *mi );
113
114 //check if any info nums
115 USHORT InfoNumbersPresent( struct MfwMnuTag *m, struct MfwMnuAttrTag *ma, struct MfwMnuItemTag *mi );
116 void mmi_cphs_refresh(void); // RAVI
117 UBYTE GetAlsLine(void); // RAVI
118 #endif