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 #if LV_USE_DEMO_MUSIC 18 19 /********************* 20 * DEFINES 21 *********************/ 22 23 /********************** 24 * TYPEDEFS 25 **********************/ 26 27 /********************** 28 * GLOBAL PROTOTYPES 29 **********************/ 30 lv_obj_t * _lv_demo_music_main_create(lv_obj_t * parent); 31 void _lv_demo_music_main_close(void); 32 33 void _lv_demo_music_play(uint32_t id); 34 void _lv_demo_music_resume(void); 35 void _lv_demo_music_pause(void); 36 void _lv_demo_music_album_next(bool next); 37 38 /********************** 39 * MACROS 40 **********************/ 41 #endif /*LV_USE_DEMO_MUSIC*/ 42 43 #ifdef __cplusplus 44 } /* extern "C" */ 45 #endif 46 47 #endif /*LV_DEMO_MUSIC_MAIN_H*/ 48