mcu_hi3321_watch/tjd/ui/app/screen_event/service/TjdUiScreenEvent.h
2025-05-26 20:15:20 +08:00

45 lines
1.0 KiB
C

/*----------------------------------------------------------------------------
* Copyright (c) TJD Technologies Co., Ltd. 2024. All rights reserved.
*
* Description: TjdUiScreenEvent.h
*
* Author: luziquan@ss-tjd.com
*
* Create: 2024-10-31
*--------------------------------------------------------------------------*/
#ifndef TJD_UI_APP_SCREEN_EVENT_SERVICE_H
#define TJD_UI_APP_SCREEN_EVENT_SERVICE_H
#include <stdint.h>
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif
void TjdUiScreenEventDisplayOn(void);
void TjdUiScreenEventDisplayOff(void);
uint32_t TjdUiSetScreenState(bool isScreenOn);
/**
* @brief 锁屏解锁或者密码输入成功事件
*/
void TjdUiScreenEventSuccessEvent(void);
/**
* @brief 锁屏解锁或者密码手动取消事件
*/
void TjdUiScreenEventEndEvent(void);
void TjdUiScreenEventInitEvent(void);
void TjdUiScreenOffEvent(void);
void TjdUiScreenOffEndEvent(void);
void TjdUiScreenSetPasswordEnable(bool value);
#ifdef __cplusplus
}
#endif
#endif // TJD_UI_APP_SCREEN_EVENT_SERVICE_H