FreeCalypso > hg > leo2moko-debug
comparison g23m/condat/ms/src/bmi/MmiBookServices.h @ 0:509db1a7b7b8
initial import: leo2moko-r1
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Jun 2015 03:24:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:509db1a7b7b8 |
---|---|
1 #ifndef _MMI_BOOK_SERVICES_H_ | |
2 #define _MMI_BOOK_SERVICES_H_ 1 | |
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: PhoneBook | |
18 $File: MmiBookServices.h | |
19 $Revision: 1.0 | |
20 | |
21 $Author: Condat(UK) | |
22 $Date: 25/10/00 | |
23 | |
24 ******************************************************************************** | |
25 | |
26 Description: | |
27 | |
28 This module provides the basic phone book services required by | |
29 the other phone book modules | |
30 | |
31 ******************************************************************************** | |
32 $History: MmiMsgs.c | |
33 | |
34 June 07, 2005 REF: CRR MMI-FIX-31545 x0021334 | |
35 Issue description: SIM: wrong behavior when FDN is not allocated in SST | |
36 Solution: Before displaying the FDN options, a check is made if FDN is allocated. Only if | |
37 FDN is allocated, the options are displayed. | |
38 | |
39 Jul 28, 2004 REF: CRR:20887 xrashmic - SASKEN | |
40 Description: Current state of FDN not highlighted | |
41 Fix: Instead of showing the submenu directly we call this function | |
42 where we set the menu and also higlight the previously selected menu item | |
43 | |
44 25/10/00 Original Condat(UK) BMI version. | |
45 | |
46 $End | |
47 | |
48 *******************************************************************************/ | |
49 | |
50 | |
51 | |
52 | |
53 /******************************************************************************* | |
54 | |
55 Public Methods | |
56 | |
57 *******************************************************************************/ | |
58 #define READ 3 | |
59 #define WRITE 6 | |
60 | |
61 /* initialise and exit the phone book application | |
62 */ | |
63 void bookInitialise( MfwHnd parent ); | |
64 | |
65 /* SPR#1112 - Internal phonebook */ | |
66 #ifdef INT_PHONEBOOK | |
67 void bookInitInternal( void); | |
68 UBYTE bookGetBookSelected(void); // RAVI | |
69 void bookSetBookSelected(UBYTE bookSelected); | |
70 UBYTE bookGetBookAvailable(void); // RAVI | |
71 void bookSetBookAvailable(UBYTE bookAvailable); | |
72 #endif | |
73 | |
74 void bookExit( void ); | |
75 | |
76 /* The following services are provided by this module | |
77 */ | |
78 int bookFindNameInPhonebook( const char* p_pszNumber, T_MFW_PHB_ENTRY* p_pEntry ); | |
79 /* SPR#1112 - SH - Add this function */ | |
80 int bookFindNameInSpecificPhonebook( const char *p_pszNumber, T_MFW_PHB_ENTRY *p_pEntry ); | |
81 | |
82 /* Find a number given a position in the book | |
83 */ | |
84 UBYTE bookFindNumberByPosition( UBYTE index, T_MFW_PHB_ENTRY* p_pEntry ); | |
85 | |
86 /* Show an information dialog | |
87 */ | |
88 void bookShowInformation( MfwHnd parent, int txtId, char *text, T_VOID_FUNC cb_function ); | |
89 | |
90 /* SPR1112 - SH - Show an info screen | |
91 */ | |
92 T_MFW_HND bookShowInfoScreen( MfwHnd parent, int txtId1, int txtId2, T_VOID_FUNC cb_function, | |
93 USHORT Identifier, ULONG Time); | |
94 | |
95 /* Add name when the number is already known | |
96 */ | |
97 void bookAddName(T_MFW_HND win,char* number); | |
98 | |
99 /* Call index | |
100 */ | |
101 int bookCallIndex(UBYTE index); | |
102 | |
103 /* Convert GSM strings to their alphanumeric equivalent | |
104 */ | |
105 void bookGsm2Alpha( UBYTE *alpha ); | |
106 | |
107 /* Determine type of current phone book, FDN/ADN | |
108 */ | |
109 UBYTE bookActiveBook( int process ); | |
110 | |
111 /* Default call backs for name and number entry | |
112 */ | |
113 | |
114 /* SPR#1428 - SH - Moved these from MmiBookInputWindow.h */ | |
115 #ifdef NEW_EDITOR | |
116 MfwHnd bookInputStartNameEditor( MfwHnd parent, void *buffer ); | |
117 MfwHnd bookInputStartNumberEditor( MfwHnd parent, void *buffer ); | |
118 void bookInputDestroy( MfwHnd window ); | |
119 void bookAddNameCB( T_MFW_HND win, USHORT Identifier, SHORT reason ); | |
120 void bookAddNumberCB( T_MFW_HND win, USHORT Identifier, SHORT reason ); | |
121 #else /* NEW_EDITOR */ | |
122 void bookAddNameCB( T_MFW_HND win, UBYTE reason ); | |
123 void bookAddNumberCB( T_MFW_HND win, UBYTE reason ); | |
124 #endif /* NEW_EDITOR */ | |
125 | |
126 /* Memory view | |
127 */ | |
128 void bookMemoryView( void ); | |
129 | |
130 | |
131 /* Delete entry from phone book | |
132 */ | |
133 void bookDeleteEntry(T_MFW_HND Window); | |
134 void bookActivateFDN( T_MFW_HND window ); | |
135 int bookFDNMenu(MfwMnu* menu, MfwMnuItem* item);//MMI SPR 18555 | |
136 | |
137 // Jul 28, 2004 REF: CRR:20887 xrashmic - SASKEN | |
138 void settingsFocusFDNCurSel(void); | |
139 | |
140 // June 07, 2005 REF: CRR MMI-FIX-31545 x0021334 | |
141 // Issue description: SIM: wrong behavior when FDN is not allocated in SST | |
142 // Added prototype for function to check if FDN is allocated | |
143 void checkFDNSupport(void); | |
144 | |
145 /******************************************************************************* | |
146 | |
147 End of File | |
148 | |
149 *******************************************************************************/ | |
150 | |
151 #endif |