1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Merge pull request #11782 from eska014/persistent-userfs-test

Add OS::is_userfs_persistent, allow starting HTML5 platform in private mode
This commit is contained in:
Hein-Pieter van Braam
2017-10-03 12:24:11 +02:00
committed by GitHub
7 changed files with 45 additions and 14 deletions

View File

@@ -49,6 +49,7 @@ typedef String (*GetDataDirFunc)();
class OS_JavaScript : public OS_Unix {
bool idbfs_available;
int64_t time_to_save_sync;
int64_t last_sync_time;
@@ -136,6 +137,8 @@ public:
virtual bool can_draw() const;
virtual bool is_userfs_persistent() const;
virtual void set_cursor_shape(CursorShape p_shape);
void main_loop_begin();
@@ -167,6 +170,8 @@ public:
virtual bool _check_internal_feature_support(const String &p_feature);
void set_idbfs_available(bool p_idbfs_available);
OS_JavaScript(const char *p_execpath, GetDataDirFunc p_get_data_dir_func);
~OS_JavaScript();
};