diff options
author | ne0fhyk <fhuyakou@gmail.com> | 2021-09-10 08:32:29 -0700 |
---|---|---|
committer | ne0fhyk <fhuyakou@gmail.com> | 2021-09-15 12:52:03 -0700 |
commit | 69f890ff11a15cc2c1aa651801a872505ab08c81 (patch) | |
tree | ba9bbb131814f460a87605d3f9fce3c578e8e06a /core/config/project_settings.h | |
parent | 729461b2a455bd3b4afb26bb362863a68e98a9ee (diff) |
Provide a getter for the project data directory.
Diffstat (limited to 'core/config/project_settings.h')
-rw-r--r-- | core/config/project_settings.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/config/project_settings.h b/core/config/project_settings.h index 7e93f26f0d..b642051402 100644 --- a/core/config/project_settings.h +++ b/core/config/project_settings.h @@ -42,7 +42,6 @@ class ProjectSettings : public Object { public: typedef Map<String, Variant> CustomMap; - static const String IMPORTED_FILES_PATH; enum { //properties that are not for built in values begin from this value, so builtin ones are displayed first @@ -141,7 +140,10 @@ public: bool property_can_revert(const String &p_name); Variant property_get_revert(const String &p_name); + String get_project_data_dir_name() const; + String get_project_data_path() const; String get_resource_path() const; + String get_imported_files_path() const; static ProjectSettings *get_singleton(); |