comparison src/ui/bmi/mmiBookController.h @ 3:67bfe9f274f6

src/ui: import of src/ui3 from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:33:10 +0000
parents
children c0052fe355d3
comparison
equal deleted inserted replaced
2:3a14ee9a9843 3:67bfe9f274f6
1 #ifndef _MMIBOOKCONTROLLER_H_
2 #define _MMIBOOKCONTROLLER_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: MmiBookController.h
19 $Revision: 1.0
20
21 $Author: Condat(UK)
22 $Date: 25/10/00
23
24 ********************************************************************************
25
26 Description:
27
28 The book controller module provides the external
29 interface to the phone book. It provides ALL external
30 entry points to the phone book system.
31
32 ********************************************************************************
33 $History: MmiBookController.h
34
35 25/10/00 Original Condat(UK) BMI version.
36
37 Nov 10, 2006 DRT: OMAPS000103354 x0039928
38 Description: Delete all failure in LDN Phonebook
39 Solution: A new function phbDeleteRec is added
40
41 $End
42
43 *******************************************************************************/
44
45
46 /* MMI Phone Book Controller Module
47
48 This module provides the entry points to the phone book
49 functionality. The real work of the phonebook is carried
50 out in subordinate modules
51
52 Each of the subordinate modules provides a mechanism for
53 driving the functionality required by it's own module, but
54 the external view outside the phonebook itself will come
55 from here.
56 */
57
58
59
60 /* In addition to the primary entry points for the phonebook,
61 which are identified below, there are additional entry
62 points provided as utilities by the MmiBookUtilities
63 module. In order to ensure that these are correctly
64 enabled by users of the phonebook, we will include their
65 definitions here
66 */
67 #include "MmiResources.h"
68 #include "MmiBookUtils.h"
69
70
71
72 /* Define the primary access points which exist in the MMI
73 Menu tree, we will have a simple one to one mapping here
74 between the menu items in the menu tree and the handler
75 functions in the phone book.
76
77 Menu handlers have a standard interface, the only thing
78 that changes is the name, so wrap this up cleanly
79 */
80 #define MENU_HANDLER( Name ) tBookStatus Name( tBookMfwMenu *Menu, tBookMfwMenuItem *Item )
81
82 MENU_HANDLER( bookNameEnter );
83 MENU_HANDLER( bookNameEdit );
84 MENU_HANDLER( bookNameDelete );
85 MENU_HANDLER( bookNameCall );
86 MENU_HANDLER( bookDeleteAll );
87 MENU_HANDLER( bookNameSearch );
88 MENU_HANDLER( bookNumberSearch );
89 MENU_HANDLER( bookLocationSearch );
90 MENU_HANDLER( bookDeleteRec ); // Nov 10, 2006 DRT: OMAPS000103354 x0039928
91 MENU_HANDLER( bookNameDeleteAll );
92
93 MENU_HANDLER( bookSendAsDTMF );
94 MENU_HANDLER( bookSendMessage );
95
96 MENU_HANDLER( bookGetOwnNumber );
97 MENU_HANDLER( bookSetOwnNumber );
98
99 MENU_HANDLER( bookRepRedNameEnter );
100 MENU_HANDLER( bookRepRedDelete );
101
102 MENU_HANDLER( bookCallListDetails );
103 MENU_HANDLER( bookDetailsList );
104
105 MENU_HANDLER( bookServiceNumbers );
106 MENU_HANDLER( bookMemoryStatus );
107 MENU_HANDLER( bookFDNActivate );
108 MENU_HANDLER( bookFDNDeactivate );
109
110 MENU_HANDLER( bookEnterLDN );
111 MENU_HANDLER( bookEnterLRN) ;
112 MENU_HANDLER( bookEnterLMN );
113
114 /* SPR#1112 - Internal phonebook menu options */
115 #ifdef INT_PHONEBOOK
116 MENU_HANDLER( bookSelectBook );
117 MENU_HANDLER( bookSelectBookSIM );
118 MENU_HANDLER( bookSelectBookPhone );
119 MENU_HANDLER( bookCopyEntry );
120 MENU_HANDLER( bookCopyAll );
121 MENU_HANDLER( bookMoveEntry );
122 MENU_HANDLER( bookMoveAll );
123 #endif
124
125 MENU_HANDLER( CphsAlsLock );
126 MENU_HANDLER( CphsAlsUnlock );
127
128 /*******************************************************************************
129
130 End of File
131
132 *******************************************************************************/
133
134 #endif