Move editor paths into the EditorPaths class
This commit is contained in:
@@ -45,6 +45,10 @@ class EditorPaths : public Object {
|
||||
String project_data_dir; // Project-specific data (metadata, shader cache, etc.).
|
||||
bool self_contained = false; // Self-contained means everything goes to `editor_data` dir.
|
||||
String self_contained_file; // Self-contained file with configuration.
|
||||
String export_templates_folder = "export_templates";
|
||||
String text_editor_themes_folder = "text_editor_themes";
|
||||
String script_templates_folder = "script_templates";
|
||||
String feature_profiles_folder = "feature_profiles";
|
||||
|
||||
static EditorPaths *singleton;
|
||||
|
||||
@@ -58,6 +62,12 @@ public:
|
||||
String get_config_dir() const;
|
||||
String get_cache_dir() const;
|
||||
String get_project_data_dir() const;
|
||||
String get_export_templates_dir() const;
|
||||
String get_project_settings_dir() const;
|
||||
String get_text_editor_themes_dir() const;
|
||||
String get_script_templates_dir() const;
|
||||
String get_project_script_templates_dir() const;
|
||||
String get_feature_profiles_dir() const;
|
||||
|
||||
bool is_self_contained() const;
|
||||
String get_self_contained_file() const;
|
||||
|
||||
Reference in New Issue
Block a user