/* * Copyright (c) Quaming Intelligent Technology Co., Ltd. * (C) Copyright All Rights Reserved. * */ /** * @file launcher.h * */ #ifndef LAUNCHER_H #define LAUNCHER_H #ifdef __cplusplus extern "C" { #endif /********************* * INCLUDES *********************/ #include "lvgl/lvgl.h" #include "xos_app_conf.h" #ifdef CONFIG_XOS_USE_APP_LAUNCHER /********************* * DEFINES *********************/ #define XOS_USE_TILEVIEWS_LAUNCHER 1 /********************** * TYPEDEFS **********************/ /********************** * GLOBAL PROTOTYPES **********************/ extern void launcher_entry(lv_obj_t *); extern void launcher_ability(lv_obj_t * parent); extern void start_app_by_index(uint8_t index); extern bool launcher_is_inited(void); #ifdef CONFIG_XOS_FWK_APPMANAGER void launcher_init(void); #endif /********************** * MACROS **********************/ #endif /*CONFIG_XOS_USE_APP_LAUNCHER*/ #ifdef __cplusplus } /* extern "C" */ #endif #endif /*LAUNCHER_H*/