diff options
Diffstat (limited to 'core/config/engine.h')
-rw-r--r-- | core/config/engine.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/config/engine.h b/core/config/engine.h index 8184496597..b64309a9e8 100644 --- a/core/config/engine.h +++ b/core/config/engine.h @@ -82,6 +82,7 @@ private: bool editor_hint = false; bool project_manager_hint = false; + bool extension_reloading = false; static Engine *singleton; @@ -140,12 +141,18 @@ public: _FORCE_INLINE_ void set_project_manager_hint(bool p_enabled) { project_manager_hint = p_enabled; } _FORCE_INLINE_ bool is_project_manager_hint() const { return project_manager_hint; } + + _FORCE_INLINE_ void set_extension_reloading_enabled(bool p_enabled) { extension_reloading = p_enabled; } + _FORCE_INLINE_ bool is_extension_reloading_enabled() const { return extension_reloading; } #else _FORCE_INLINE_ void set_editor_hint(bool p_enabled) {} _FORCE_INLINE_ bool is_editor_hint() const { return false; } _FORCE_INLINE_ void set_project_manager_hint(bool p_enabled) {} _FORCE_INLINE_ bool is_project_manager_hint() const { return false; } + + _FORCE_INLINE_ void set_extension_reloading_enabled(bool p_enabled) {} + _FORCE_INLINE_ bool is_extension_reloading_enabled() const { return false; } #endif Dictionary get_version_info() const; |