semilimes mcu sdk
0.1
semilimes Software Development Kit for microcontrollers
Loading...
Searching...
No Matches
dc_webview.h
1
#ifndef _dc_webview_
2
#define _dc_webview_
3
4
#include "../defines.h"
5
6
class
DcWebview
7
{
8
private
:
9
SmeJson json_data;
10
char
** pjson;
11
12
public
:
13
// Function: DcWebview
14
15
// A message referencing a webpage, to be viewed as a web frame
16
17
// Prototype:
18
// void DcWebview(char* json);
19
20
// Parameters:
22
23
// Returns:
25
DcWebview
(
char
* json)
26
{
27
pjson = &json;
28
json_data.initJson(*pjson);
29
}
30
char
viewSizeTypes[4][4] = {
"1:1"
,
"1:2"
,
"3:2"
,
"2:1"
};
31
32
// Function: DcWebview.setObj
33
34
// A message referencing a webpage, to be viewed as a web frame
35
36
// Prototype:
37
// void DcWebview::setObj(char* url, bool enableFullScreenView, char* viewSize);
38
39
// Parameters:
43
// Returns:
45
void
setObj
(
char
* url,
bool
enableFullScreenView,
char
* viewSize);
46
};
47
48
#endif
DcWebview
Definition
dc_webview.h:7
DcWebview::setObj
void setObj(char *url, bool enableFullScreenView, char *viewSize)
Definition
dc_webview.cpp:17
DcWebview::DcWebview
DcWebview(char *json)
Definition
dc_webview.h:25
semilimes
src
components
dc_webview.h
Generated by
1.12.0