godot/core/io/resource_importer.cpp

/**************************************************************************/
/*  resource_importer.cpp                                                 */
/**************************************************************************/
/*                         This file is part of:                          */
/*                             GODOT ENGINE                               */
/*                        https://godotengine.org                         */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur.                  */
/*                                                                        */
/* Permission is hereby granted, free of charge, to any person obtaining  */
/* a copy of this software and associated documentation files (the        */
/* "Software"), to deal in the Software without restriction, including    */
/* without limitation the rights to use, copy, modify, merge, publish,    */
/* distribute, sublicense, and/or sell copies of the Software, and to     */
/* permit persons to whom the Software is furnished to do so, subject to  */
/* the following conditions:                                              */
/*                                                                        */
/* The above copyright notice and this permission notice shall be         */
/* included in all copies or substantial portions of the Software.        */
/*                                                                        */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,        */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF     */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY   */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,   */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE      */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.                 */
/**************************************************************************/

#include "resource_importer.h"

#include "core/config/project_settings.h"
#include "core/io/config_file.h"
#include "core/os/os.h"
#include "core/variant/variant_parser.h"

ResourceFormatImporterLoadOnStartup ResourceImporter::load_on_startup =;

bool ResourceFormatImporter::SortImporterByName::operator()(const Ref<ResourceImporter> &p_a, const Ref<ResourceImporter> &p_b) const {}

Error ResourceFormatImporter::_get_path_and_type(const String &p_path, PathAndType &r_path_and_type, bool *r_valid) const {}

Ref<Resource> ResourceFormatImporter::load(const String &p_path, const String &p_original_path, Error *r_error, bool p_use_sub_threads, float *r_progress, CacheMode p_cache_mode) {}

Ref<Resource> ResourceFormatImporter::load_internal(const String &p_path, Error *r_error, bool p_use_sub_threads, float *r_progress, CacheMode p_cache_mode, bool p_silence_errors) {}

void ResourceFormatImporter::get_recognized_extensions(List<String> *p_extensions) const {}

void ResourceFormatImporter::get_recognized_extensions_for_type(const String &p_type, List<String> *p_extensions) const {}

bool ResourceFormatImporter::exists(const String &p_path) const {}

bool ResourceFormatImporter::recognize_path(const String &p_path, const String &p_for_type) const {}

Error ResourceFormatImporter::get_import_order_threads_and_importer(const String &p_path, int &r_order, bool &r_can_threads, String &r_importer) const {}

int ResourceFormatImporter::get_import_order(const String &p_path) const {}

bool ResourceFormatImporter::handles_type(const String &p_type) const {}

String ResourceFormatImporter::get_internal_resource_path(const String &p_path) const {}

void ResourceFormatImporter::get_internal_resource_path_list(const String &p_path, List<String> *r_paths) {}

String ResourceFormatImporter::get_import_group_file(const String &p_path) const {}

bool ResourceFormatImporter::is_import_valid(const String &p_path) const {}

String ResourceFormatImporter::get_resource_type(const String &p_path) const {}

ResourceUID::ID ResourceFormatImporter::get_resource_uid(const String &p_path) const {}

Error ResourceFormatImporter::get_resource_import_info(const String &p_path, StringName &r_type, ResourceUID::ID &r_uid, String &r_import_group_file) const {}

Variant ResourceFormatImporter::get_resource_metadata(const String &p_path) const {}
void ResourceFormatImporter::get_classes_used(const String &p_path, HashSet<StringName> *r_classes) {}

void ResourceFormatImporter::get_dependencies(const String &p_path, List<String> *p_dependencies, bool p_add_types) {}

Ref<ResourceImporter> ResourceFormatImporter::get_importer_by_name(const String &p_name) const {}

void ResourceFormatImporter::add_importer(const Ref<ResourceImporter> &p_importer, bool p_first_priority) {}

void ResourceFormatImporter::get_importers_for_extension(const String &p_extension, List<Ref<ResourceImporter>> *r_importers) {}

void ResourceFormatImporter::get_importers(List<Ref<ResourceImporter>> *r_importers) {}

Ref<ResourceImporter> ResourceFormatImporter::get_importer_by_extension(const String &p_extension) const {}

String ResourceFormatImporter::get_import_base_path(const String &p_for_file) const {}

bool ResourceFormatImporter::are_import_settings_valid(const String &p_path) const {}

String ResourceFormatImporter::get_import_settings_hash() const {}

ResourceFormatImporter *ResourceFormatImporter::singleton =;

ResourceFormatImporter::ResourceFormatImporter() {}

//////////////

void ResourceImporter::_bind_methods() {}

/////

Error ResourceFormatImporterSaver::set_uid(const String &p_path, ResourceUID::ID p_uid) {}