FreeCalypso > hg > leo2moko-debug
comparison g23m/condat/ms/src/mfw/mfw_lng.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 /* | |
2 +--------------------------------------------------------------------+ | |
3 | PROJECT: MMI-Framework (8417) $Workfile:: mfw_lng.h $| | |
4 | $Author:: Kk $ CONDAT GmbH $Revision:: 2 $| | |
5 | CREATED: 27.08.99 $Modtime:: 10.03.00 11:38 $| | |
6 | STATE : code | | |
7 +--------------------------------------------------------------------+ | |
8 | |
9 MODULE : MFW_LNG | |
10 | |
11 PURPOSE : Language Handler types & constants | |
12 | |
13 EXPORT : | |
14 | |
15 TO DO : | |
16 | |
17 $History:: mfw_lng.h $ | |
18 * | |
19 * ***************** Version 2 ***************** | |
20 * User: Kk Date: 14.03.00 Time: 15:48 | |
21 * Updated in $/GSM/Condat/MS/SRC/MFW | |
22 * added handling of various texts | |
23 * | |
24 * ***************** Version 1 ***************** | |
25 * User: Le Date: 4.01.00 Time: 13:09 | |
26 * Created in $/GSM/Condat/MS/SRC/MFW | |
27 * | |
28 * ***************** Version 2 ***************** | |
29 * User: Es Date: 22.11.99 Time: 10:29 | |
30 * Updated in $/GSM/Condat/SND-MMI/MFW | |
31 * | |
32 * ***************** Version 1 ***************** | |
33 * User: Es Date: 18.11.99 Time: 16:35 | |
34 * Created in $/GSM/Condat/SND-MMI/MFW | |
35 * Initial | |
36 */ | |
37 | |
38 #ifndef _DEF_MFW_LNG_H_ | |
39 #define _DEF_MFW_LNG_H_ | |
40 | |
41 #include "mfw_mfw.h" | |
42 | |
43 | |
44 | |
45 | |
46 typedef struct LngInfoTag /* Language information */ | |
47 { | |
48 int language; /* selected language */ | |
49 unsigned int nPrompts; /* number of prompts & text */ | |
50 const char* const* const* prompts; /* prompts and menu texts */ | |
51 } LngInfo; | |
52 | |
53 typedef struct MfwLngTag /* LANGUAGE CONTROL BLOCK */ | |
54 { | |
55 MfwEvt map; /* selection of events */ | |
56 MfwEvt evt; /* current event */ | |
57 MfwCb handler; /* event handler */ | |
58 LngInfo *lng; /* language info block */ | |
59 } MfwLng; | |
60 | |
61 /* EVENTS */ | |
62 | |
63 /* PROTOTYPES */ | |
64 MfwRes lngInit (void); | |
65 MfwRes lngExit (void); | |
66 MfwHnd lngCreate (MfwHnd w, MfwEvt e, LngInfo *lng, MfwCb f); | |
67 MfwRes lngDelete (MfwHnd h); | |
68 char * lngText (MfwHnd h, unsigned int t); | |
69 void lngSignal (void/*char make, char key*/); | |
70 | |
71 #endif | |
72 |