comparison src/ui3/bmi/mmiBtipsA2dp.h @ 420:e8ddbb0837ed

src/ui3: initial import of TCS3/LoCosto BMI & MFW code
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 21 Jan 2018 03:09:00 +0000
parents
children
comparison
equal deleted inserted replaced
419:59143cd42ec7 420:e8ddbb0837ed
1 #ifndef _MMIBTIPS_A2DP_H_
2 #define _MMIBTIPS_A2DP_H_
3
4 /* =========================================================
5 * Texas Instruments OMAP(TM) Platform Software
6 * (c) Copyright Texas Instruments, Incorporated. All Rights Reserved.
7 *
8 * Use of this software is controlled by the terms and conditions found
9 * in the license agreement under which this software has been supplied.
10 * ========================================================== */
11 /*
12 $Project name: Basic Bluetooth A2DP MMI
13 $Project code:
14 $Module: Bluetooth A2DP APPlication
15 $File: MmiBtipsA2dp.h
16 $Revision: 1.0
17 $Author: Texas Instruments
18 $Date: 26/06/07
19
20 ********************************************************************************
21
22 Description:
23
24 This module provides the BTIPS BMG APPlication functionality.
25
26 ********************************************************************************
27 $History: MmiBtipsA2dp.h
28
29 26/06/07 Sasken original version
30
31 $End
32
33 *******************************************************************************/
34
35
36 /* ====================================================== */
37 /*
38 * List Attribute
39 */
40 /* ====================================================== */
41 static const MfwMnuAttr BtipsA2dpList_Attrib =
42 {
43 &menuArea,
44 MNU_LEFT| MNU_LIST_ICONS| MNU_CUR_LINE, /* centered page menu */
45 (U8)-1, /* use default font */
46 NULL, /* with these items */
47 0, /* number of items */
48 COLOUR_LIST_XX,
49 TxtBtipsA2dp,
50 NULL,
51 MNUATTRSPARE
52 };
53
54
55 typedef struct _T_MMI_Btips_A2dp_Win_data
56 {
57 T_MMI_CONTROL mmi_control;
58 T_MFW_HND parent;
59 T_MFW_HND win;
60 T_MFW_HND kbd;
61 T_MFW_HND kbd_long;
62 T_MFW_HND a2dp_optionsMenu;
63
64
65 T_VOID_FUNC func_cb;
66 T_VOID_FUNC cancel_cb;
67 UBYTE a2dp_num_file;
68 UBYTE a2dp_file_count;
69 ListCbFunc a2dp_list_cb;
70 UBYTE a2dp_list_idx;
71 UBYTE IsMfwInit;
72 ListMenuData * menu_list_data;
73 BOOL deviceSearchStarted;
74
75 }T_MMI_Btips_A2dp_Win_data;
76
77 typedef enum {
78 BTIPS_A2DP_LIST_INIT=0,
79 BTIPS_A2DP_LIST_DEINIT
80 }BTIPS_A2DP_WIN_EVENT;
81
82 /*Function Declarations*/
83 int mmi_btips_a2dpHandler(MfwMnu* m, MfwMnuItem* i);
84 void mmi_btips_a2dpExecCb (T_MFW_HND win, USHORT event, SHORT value, void * parameter);
85 int mmi_btips_a2dpDeviceSearchCallback(BD_ADDR bdAddr);
86
87 #endif