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
commit 2bece6bbd3
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();
};