Mercurial > dwindows
diff os2/dw.c @ 2015:c30f4354966e
Win: Added support for dw_html_javascript_run() using Edge (Chromium).
OS/2: Added dw_html_javascript_run() stub for OS/2 so things compile.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 07 Nov 2019 10:12:25 +0000 |
parents | 21811c9e2eaf |
children | 7f2fb0c602f0 |
line wrap: on
line diff
--- a/os2/dw.c Thu Nov 07 08:11:28 2019 +0000 +++ b/os2/dw.c Thu Nov 07 10:12:25 2019 +0000 @@ -12863,6 +12863,24 @@ } /* + * Executes the javascript contained in "script" in the HTML window. + * Parameters: + * handle: Handle to the HTML window. + * script: Javascript code to execute. + * scriptdata: Data passed to the signal handler. + * Notes: A DW_SIGNAL_HTML_RESULT event will be raised with scriptdata. + * Returns: + * DW_ERROR_NONE (0) on success. + */ +int dw_html_javascript_run(HWND handle, char *script, void *scriptdata) +{ + handle = handle; + script = script; + scriptdata = scriptdata; + return DW_ERROR_UNKNOWN; +} + +/* * Create a new HTML window (widget) to be packed. * Not available under OS/2, eCS * Parameters: