comparison g23m/condat/ms/src/bmi/MmiBlkManager.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_BLKMANAGER_H_
2 #define _MMI_BLKMANAGER_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: PhoneBook
18 $File: MmiBlkManager.h
19 $Revision: 1.0
20
21 $Author: Condat(UK)
22 $Date: 25/10/00
23
24 ********************************************************************************
25
26 Description:
27
28 The block manager is responsible for creating and initialising
29 the structures and tables to allow access to the strings, icons
30 sounds and vibrations required by the MMI.
31
32 Each of these items is effectively a contiguous block of memory,
33 which is accessed via a block resource. Each of the block resources
34 are provided by this package
35
36
37 ********************************************************************************
38 $History: MmiBlkManager.h
39
40 25/10/00 Original Condat(UK) BMI version.
41
42 $End
43
44 *******************************************************************************/
45
46
47 #include "MmiBlkResources.h"
48
49
50 /* Define the block resources we are dealing with, for now just
51 identify the sounds icons and vibrations, and fill the rest
52 with languages. We don't actually care what these are for now,
53 they're just placeholders
54 */
55
56 #define ALLOC_MEMORY mfwAlloc
57 #define FREE_MEMORY mfwFree
58
59 #define MMI_LANG_0 0
60 #define MMI_LANG_1 1
61 #define MMI_LANG_2 2
62 #define MMI_LANG_3 3
63 #define MMI_LANG_4 4
64 #define MMI_LANG_5 5
65 #define MMI_LANG_6 6
66 #define MMI_LANG_7 7
67 #define MMI_LANG_8 8
68 #define MMI_LANG_9 9
69 #define MMI_LANG_10 10
70 #define MMI_LANG_11 11
71 #define MMI_LANG_12 12
72 #define MMI_SOUNDS 13
73 #define MMI_ICONS 14
74 #define MMI_MOVES 15
75
76
77 /* Define initialise and shutdown methods
78 */
79 tBlkHandle mmibm_Initialise( tBlkHandle BlkBase, int NumEntries );
80 void mmibm_ShutDown( tBlkHandle *BlkHandle );
81
82
83 /* Since this module will be managing each of the block handlers
84 for each of the resources, we need to be able to supply the
85 appropriate handle for any given type to the calling routine.
86 */
87 tBlkHandle mmibm_SupplyResourceHandler( tBlkHandle ManagerHandle, tBlkId Id );
88
89
90
91 /*******************************************************************************
92
93 End of File
94
95 *******************************************************************************/
96
97 #endif