aboutsummaryrefslogtreecommitdiff
path: root/platform/javascript/os_javascript.h
diff options
context:
space:
mode:
authorJuan Linietsky2015-09-12 10:54:47 -0300
committerJuan Linietsky2015-09-12 10:54:47 -0300
commita88f67821ca828d9b4d3453b19de60e27ab24efc (patch)
tree8601610cad673f7f39c791b8cfe2bebfefffd69a /platform/javascript/os_javascript.h
parent56c907ad040b102c1d74d2d54190238989f1a819 (diff)
downloadgodot-a88f67821ca828d9b4d3453b19de60e27ab24efc.tar.gz
godot-a88f67821ca828d9b4d3453b19de60e27ab24efc.tar.zst
godot-a88f67821ca828d9b4d3453b19de60e27ab24efc.zip
Diffstat (limited to 'platform/javascript/os_javascript.h')
-rw-r--r--platform/javascript/os_javascript.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/platform/javascript/os_javascript.h b/platform/javascript/os_javascript.h
index d52c465c7..55ac7cdae 100644
--- a/platform/javascript/os_javascript.h
+++ b/platform/javascript/os_javascript.h
@@ -65,6 +65,9 @@ private:
bool use_gl2;
+ int64_t time_to_save_sync;
+ int64_t last_sync_time;
+
Rasterizer *rasterizer;
VisualServer *visual_server;
AudioServerJavascript *audio_server;
@@ -84,6 +87,8 @@ private:
GetDataDirFunc get_data_dir_func;
GetLocaleFunc get_locale_func;
+ static void _close_notification_funcs(const String& p_file,int p_flags);
+
public:
// functions used by main to initialize/deintialize the OS
@@ -106,7 +111,7 @@ public:
typedef int64_t ProcessID;
- static OS* get_singleton();
+ //static OS* get_singleton();
virtual void vprint(const char* p_format, va_list p_list, bool p_stderr=false);
virtual void print(const char *p_format, ... );