mirror of
https://github.com/godotengine/godot.git
synced 2025-11-01 06:01:14 +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:
commit
2bece6bbd3
7 changed files with 45 additions and 14 deletions
|
|
@ -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();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue