add the prototypes of the examples

This commit is contained in:
Gabor Kiss-Vamosi
2021-02-19 18:19:32 +01:00
parent fe20d47b6e
commit ca4f11e9f4
18 changed files with 168 additions and 26 deletions
+9 -3
View File
@@ -3,8 +3,8 @@
*
*/
#ifndef LV_EX_FLEX_H
#define LV_EX_FLEX_H
#ifndef LV_EXAMPLE_FLEX_H
#define LV_EXAMPLE_FLEX_H
#ifdef __cplusplus
extern "C" {
@@ -25,6 +25,12 @@ extern "C" {
/**********************
* GLOBAL PROTOTYPES
**********************/
void lv_example_flex_1(void);
void lv_example_flex_2(void);
void lv_example_flex_3(void);
void lv_example_flex_4(void);
void lv_example_flex_5(void);
void lv_example_flex_6(void);
/**********************
* MACROS
@@ -34,4 +40,4 @@ extern "C" {
} /* extern "C" */
#endif
#endif /*LV_EX_FLEX_H*/
#endif /*LV_EXAMPLE_FLEX_H*/
+9 -3
View File
@@ -3,8 +3,8 @@
*
*/
#ifndef LV_EX_GRID_H
#define LV_EX_GRID_H
#ifndef LV_EXAMPLE_GRID_H
#define LV_EXAMPLE_GRID_H
#ifdef __cplusplus
extern "C" {
@@ -25,6 +25,12 @@ extern "C" {
/**********************
* GLOBAL PROTOTYPES
**********************/
void lv_example_grid_1(void);
void lv_example_grid_2(void);
void lv_example_grid_3(void);
void lv_example_grid_4(void);
void lv_example_grid_5(void);
void lv_example_grid_6(void);
/**********************
* MACROS
@@ -34,4 +40,4 @@ extern "C" {
} /* extern "C" */
#endif
#endif /*LV_EX_GRID_H*/
#endif /*LV_EXAMPLE_GRID_H*/
+39
View File
@@ -0,0 +1,39 @@
/**
* @file lv_example_layout.h
*
*/
#ifndef LV_EXAMPLE_LAYOUT_H
#define LV_EXAMPLE_LAYOUT_H
#ifdef __cplusplus
extern "C" {
#endif
/*********************
* INCLUDES
*********************/
#include "flex/lv_example_flex.h"
#include "grid/lv_example_grid.h"
/*********************
* DEFINES
*********************/
/**********************
* TYPEDEFS
**********************/
/**********************
* GLOBAL PROTOTYPES
**********************/
/**********************
* MACROS
**********************/
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /*LV_EXAMPLE_LAYOUT_H*/