diff options
| author | Rémi Verschelde | 2016-08-30 14:52:35 +0200 |
|---|---|---|
| committer | GitHub | 2016-08-30 14:52:35 +0200 |
| commit | 5efe47fb0bd08bba569ec951ed6b6e40d4b264f1 (patch) | |
| tree | 6df3ee875980c83ceb65a4753cae14816213614d /platform/javascript/os_javascript.h | |
| parent | 445c7455da85d3505d7d9572052f22281fa95581 (diff) | |
| parent | 913361928fe2b917def749af774c94228a840524 (diff) | |
| download | godot-5efe47fb0bd08bba569ec951ed6b6e40d4b264f1.tar.gz godot-5efe47fb0bd08bba569ec951ed6b6e40d4b264f1.tar.zst godot-5efe47fb0bd08bba569ec951ed6b6e40d4b264f1.zip | |
Diffstat (limited to 'platform/javascript/os_javascript.h')
| -rw-r--r-- | platform/javascript/os_javascript.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/javascript/os_javascript.h b/platform/javascript/os_javascript.h index 16e4781d1..5b7904805 100644 --- a/platform/javascript/os_javascript.h +++ b/platform/javascript/os_javascript.h @@ -42,6 +42,7 @@ #include "audio_driver_javascript.h" #include "main/input_default.h" #include "emscripten/html5.h" +#include "javascript_eval.h" typedef void (*GFXInitFunc)(void *ud,bool gl2,int w, int h, bool fs); typedef int (*OpenURIFunc)(const String&); @@ -88,6 +89,10 @@ private: GetDataDirFunc get_data_dir_func; GetLocaleFunc get_locale_func; +#ifdef JAVASCRIPT_EVAL_ENABLED + JavaScript* javascript_eval; +#endif + static void _close_notification_funcs(const String& p_file,int p_flags); void process_joysticks(); |
