1 /**
2  * @file lv_demo_music_main.h
3  *
4  */
5 
6 #ifndef LV_DEMO_MUSIC_MAIN_H
7 #define LV_DEMO_MUSIC_MAIN_H
8 
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12 
13 /*********************
14  *      INCLUDES
15  *********************/
16 #include "lv_demo_music.h"
17 
18 #if LV_USE_DEMO_MUSIC
19 
20 #if LV_USE_GRID == 0
21 #error "LV_USE_GRID needs to be enabled"
22 #endif
23 
24 /*********************
25  *      DEFINES
26  *********************/
27 
28 /**********************
29  *      TYPEDEFS
30  **********************/
31 
32 /**********************
33  * GLOBAL PROTOTYPES
34  **********************/
35 lv_obj_t * lv_demo_music_main_create(lv_obj_t * parent);
36 void lv_demo_music_play(uint32_t id);
37 void lv_demo_music_resume(void);
38 void lv_demo_music_pause(void);
39 void lv_demo_music_album_next(bool next);
40 
41 /**********************
42  *      MACROS
43  **********************/
44 #endif /*LV_USE_DEMO_MUSIC*/
45 
46 #ifdef __cplusplus
47 } /* extern "C" */
48 #endif
49 
50 #endif /*LV_DEMO_MUSIC_MAIN_H*/
51