summaryrefslogtreecommitdiffstats
path: root/core/config/project_settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/config/project_settings.h')
-rw-r--r--core/config/project_settings.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/config/project_settings.h b/core/config/project_settings.h
index b89e6694b0..dba4aa6822 100644
--- a/core/config/project_settings.h
+++ b/core/config/project_settings.h
@@ -43,6 +43,9 @@ class TypedArray;
class ProjectSettings : public Object {
GDCLASS(ProjectSettings, Object);
_THREAD_SAFE_CLASS_
+ friend class TestProjectSettingsInternalsAccessor;
+
+ bool is_changed = false;
public:
typedef HashMap<String, Variant> CustomMap;
@@ -114,6 +117,9 @@ protected:
bool _property_can_revert(const StringName &p_name) const;
bool _property_get_revert(const StringName &p_name, Variant &r_property) const;
+ void _queue_changed();
+ void _emit_changed();
+
static ProjectSettings *singleton;
Error _load_settings_text(const String &p_path);