#include "webview/webview.h" #include #ifdef _WIN32 #include #endif #ifdef _WIN32 int WINAPI WinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPSTR lpCmdLine, int nCmdShow) { (void)hInst; (void)hPrevInst; (void)lpCmdLine; (void)nCmdShow; #else int main(void) { #endif webview_t w = webview_create(0, NULL); webview_set_title(w, "Basic Example"); webview_set_size(w, 480, 320, WEBVIEW_HINT_NONE); webview_set_html(w, "Thanks for using webview!"); webview_run(w); webview_destroy(w); return 0; }