1 #ifndef SCENE_FORMAT_TEXT_H 2 #define SCENE_FORMAT_TEXT_H 4 #include "io/resource_loader.h" 5 #include "io/resource_saver.h" 6 #include "os/file_access.h" 7 #include "scene/resources/packed_scene.h" 8 #include "variant_parser.h" 31 bool ignore_resource_parsing;
69 virtual void set_local_path(
const String& p_local_path);
72 virtual int get_stage()
const;
73 virtual int get_stage_count()
const;
75 void open(
FileAccess *p_f,
bool p_skip_first_tag=
false);
91 virtual void get_recognized_extensions_for_type(
const String& p_type,
List<String> *p_extensions)
const;
92 virtual void get_recognized_extensions(
List<String> *p_extensions)
const;
93 virtual bool handles_type(
const String& p_type)
const;
94 virtual String get_resource_type(
const String &p_path)
const;
95 virtual void get_dependencies(
const String& p_path,
List<String> *p_dependencies,
bool p_add_types=
false);
110 bool bundle_resources;
118 void _find_resources(
const Variant& p_variant,
bool p_main=
false);
120 static String _write_resources(
void *ud,
const RES& p_resource);
126 Error save(
const String &p_path,
const RES& p_resource,uint32_t p_flags=0);
134 virtual Error save(
const String &p_path,
const RES& p_resource,uint32_t p_flags=0);
135 virtual bool recognize(
const RES& p_resource)
const;
136 virtual void get_recognized_extensions(
const RES& p_resource,
List<String> *p_extensions)
const;
142 #endif // SCENE_FORMAT_TEXT_H
Definition: variant_parser.h:50
Definition: variant_parser.h:11
Definition: scene_format_text.h:102
Definition: variant_parser.h:23
Definition: variant_parser.h:93
Definition: scene_format_text.h:12
Definition: scene_format_text.h:131
Definition: file_access.h:40
Definition: scene_format_text.h:87
Definition: resource_loader.h:38