comparison src/ui/mfw/mfw_acie.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 92abb46dc1ba
comparison
equal deleted inserted replaced
2:3a14ee9a9843 3:67bfe9f274f6
1 /*
2 +--------------------------------------------------------------------+
3 | PROJECT: MMI-Framework (8417) $Workfile:: mfw_acie.h $|
4 | $Author:: Es $Revision:: 1 $|
5 | CREATED: 26.10.98 $Modtime:: 2.03.00 15:24 $|
6 | STATE : code |
7 +--------------------------------------------------------------------+
8
9 MODULE : MFW_ACIE
10
11 PURPOSE : This modul contains the definition for ACI external functions.
12
13
14 $History:: mfw_acie.h $
15 *
16 * ***************** Version 7 *****************
17 * User: Es Date: 2.03.00 Time: 16:04
18 * Updated in $/GSM/Condat/MS/SRC/MFW
19 * some cleanups
20 *
21 * ***************** Version 6 *****************
22 * User: Es Date: 8.12.98 Time: 16:53
23 * Updated in $/GSM/DEV/MS/SRC/MFW
24 *
25 * ***************** Version 5 *****************
26 * User: Vo Date: 24.11.98 Time: 21:40
27 * Updated in $/GSM/DEV/MS/SRC/MFW
28 * first successful compilation of MFW
29 *
30 * ***************** Version 4 *****************
31 * User: Le Date: 11.11.98 Time: 13:35
32 * Updated in $/GSM/DEV/MS/SRC/MFW
33 *
34 * ***************** Version 3 *****************
35 * User: Le Date: 10.11.98 Time: 16:07
36 * Updated in $/GSM/DEV/MS/SRC/MFW
37 *
38 * ***************** Version 2 *****************
39 * User: Le Date: 10.11.98 Time: 11:08
40 * Updated in $/GSM/DEV/MS/SRC/MFW
41 *
42 * ***************** Version 1 *****************
43 * User: Le Date: 27.10.98 Time: 15:58
44 * Created in $/GSM/DEV/MS/SRC/MFW
45 * first implementation
46
47 */
48
49 #define MAX_ACI_HANDLER 10
50
51 typedef BOOL (*T_PRIM_HANDLER)(ULONG, void *);
52 typedef BOOL (*T_CMD_HANDLER)(char *);
53
54 typedef struct
55 {
56 T_PRIM_HANDLER prim_handler;
57 T_CMD_HANDLER cmd_handler;
58 } T_MFW_ACI_EXT;
59
60 EXTERN void aci_ext_init(void);
61 EXTERN int aci_create(T_PRIM_HANDLER prim_func, T_CMD_HANDLER cmd_func);
62 EXTERN void aci_delete(int handle);
63 EXTERN BOOL aci_check_primitive(ULONG opc, void * data);
64 EXTERN BOOL aci_check_command(char * cmd);
65 #ifdef BT_INTERFACE
66 EXTERN int pSlotBt; /* primitive handler slot */
67 #endif