UI_control.h 1.6 KB
/**
 ********************************************************************
 * @file   UI_control.h
 *         UI_control的头文件
 *
 *********************************************************************
 */

 /* Define to prevent recursive inclusion 避免重定义 -------------------------------------*/
#ifndef JZSDK_UI_CONTROL_H
#define JZSDK_UI_CONTROL_H

/* Includes ------------------------------------------------------------------*/
#include "JZsdk_Base/JZsdk_Code/JZsdk_Code.h"
#include "UI_control/Psdk_ui_value_menu.h"
#include "UI_control/UI_Api.h"

#ifdef __cplusplus
extern "C" {
#endif

/* Exported constants --------------------------------------------------------*/
/* 常亮定义*/

/********************
 * 
 *  完整路径 假设 
 *  /root/Configs/DJI_widget_file/cn/widget_file/cn_big_screen
 *  /root/Configs/DJI_widget_file/en/widget_file/cn_big_screen
 *  /root/Configs/DJI_widget_file/debug/widget_file/cn_big_screen
 * 
 *  其中 /root/Configs/DJI_widget_file 是对应的psdk给出的路径
 * 	 cn en debug 是对应的语言
 *   widget_file/cn_big_screen 是对应的文件,也有psdk给出
 * 
 * **************/
typedef struct T_JZsdkUIJson
{
	unsigned char BaseDir[256];		
	unsigned char DebugDir[256];
    int HaveSetFlag;
}T_JZsdkUIJson;


typedef struct T_JZsdkUicontrol{
	T_JZsdkUIJson UI_Json;
    
}T_JZsdkUicontrol;

/* Exported types ------------------------------------------------------------*/

/* Exported functions --------------------------------------------------------*/
T_JZsdkReturnCode UI_control_Init(T_JZsdkUicontrol t_UI_control);
T_JZsdkReturnCode UI_control_Get(T_JZsdkUicontrol *t_UI_control);



#ifdef __cplusplus
}
#endif

#endif