-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp_preview.h
46 lines (38 loc) · 1.12 KB
/
app_preview.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/**
* Copyright (c) 2020 Rockchip Electronics Co., Ltd
*
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef __APP_PREVIEW__
#define __APP_PREVIEW__
#include <rtthread.h>
#if defined(RT_USING_TOUCH_DRIVERS)
#include "touch.h"
#include "touchpanel.h"
#endif
/*
**************************************************************************************************
*
* Macro define
*
**************************************************************************************************
*/
/*
**************************************************************************************************
*
* Struct & data define
*
**************************************************************************************************
*/
extern struct app_page_data_t *g_preview_page;
extern struct app_touch_cb_t app_preview_main_touch_cb;
/*
**************************************************************************************************
*
* Declaration
*
**************************************************************************************************
*/
void app_preview_init(void);
rt_err_t app_preview_enter(void *arg);
#endif