awtk/tools/theme_gen/xml_theme_gen.h

31 lines
851 B
C
Raw Normal View History

2018-02-21 19:36:38 +08:00
/**
* File: xml_gen.h
2018-05-15 09:31:58 +08:00
* Author: AWTK Develop Team
2018-02-21 19:36:38 +08:00
* Brief: generate theme date from xml
*
2020-01-01 11:27:36 +08:00
* Copyright (c) 2018 - 2020 Guangzhou ZHIYUAN Electronics Co.,Ltd.
2018-02-21 19:36:38 +08:00
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* License file for more details.
*
*/
/**
* History:
* ================================================================
* 2018-01-19 Li XianJing <xianjimli@hotmail.com> adapted from ftk.
*
*/
#include "tkc/types_def.h"
2018-02-21 19:36:38 +08:00
#ifndef XML_THEME_GEN_H
#define XML_THEME_GEN_H
2020-03-23 12:16:07 +08:00
bool xml_gen(const char* input_file, const char* output_file, const char* theme, bool_t output_bin);
2018-02-21 19:36:38 +08:00
uint32_t xml_gen_buff(const char* xml, uint8_t* output, uint32_t max_size);
#endif /*XML_THEME_GEN_H*/