godot/editor/export/export_template_manager.cpp

/**************************************************************************/
/*  export_template_manager.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 "export_template_manager.h"

#include "core/io/dir_access.h"
#include "core/io/json.h"
#include "core/io/zip_io.h"
#include "core/version.h"
#include "editor/editor_node.h"
#include "editor/editor_paths.h"
#include "editor/editor_settings.h"
#include "editor/editor_string_names.h"
#include "editor/export/editor_export.h"
#include "editor/progress_dialog.h"
#include "editor/themes/editor_scale.h"
#include "scene/gui/file_dialog.h"
#include "scene/gui/menu_button.h"
#include "scene/gui/separator.h"
#include "scene/gui/tree.h"
#include "scene/main/http_request.h"

enum DownloadsAvailability {};

static DownloadsAvailability _get_downloads_availability() {}

void ExportTemplateManager::_update_template_status() {}

void ExportTemplateManager::_download_current() {}

void ExportTemplateManager::_download_template(const String &p_url, bool p_skip_check) {}

void ExportTemplateManager::_download_template_completed(int p_status, int p_code, const PackedStringArray &headers, const PackedByteArray &p_data) {}

void ExportTemplateManager::_cancel_template_download() {}

void ExportTemplateManager::_refresh_mirrors() {}

void ExportTemplateManager::_refresh_mirrors_completed(int p_status, int p_code, const PackedStringArray &headers, const PackedByteArray &p_data) {}

bool ExportTemplateManager::_humanize_http_status(HTTPRequest *p_request, String *r_status, int *r_downloaded_bytes, int *r_total_bytes) {}

void ExportTemplateManager::_set_current_progress_status(const String &p_status, bool p_error) {}

void ExportTemplateManager::_set_current_progress_value(float p_value, const String &p_status) {}

void ExportTemplateManager::_install_file() {}

bool ExportTemplateManager::_install_file_selected(const String &p_file, bool p_skip_progress) {}

void ExportTemplateManager::_uninstall_template(const String &p_version) {}

void ExportTemplateManager::_uninstall_template_confirmed() {}

String ExportTemplateManager::_get_selected_mirror() const {}

void ExportTemplateManager::_mirror_options_button_cbk(int p_id) {}

void ExportTemplateManager::_installed_table_button_cbk(Object *p_item, int p_column, int p_id, MouseButton p_button) {}

void ExportTemplateManager::_open_template_folder(const String &p_version) {}

void ExportTemplateManager::popup_manager() {}

void ExportTemplateManager::ok_pressed() {}

void ExportTemplateManager::_hide_dialog() {}

String ExportTemplateManager::get_android_build_directory(const Ref<EditorExportPreset> &p_preset) {}

String ExportTemplateManager::get_android_source_zip(const Ref<EditorExportPreset> &p_preset) {}

String ExportTemplateManager::get_android_template_identifier(const Ref<EditorExportPreset> &p_preset) {}

bool ExportTemplateManager::is_android_template_installed(const Ref<EditorExportPreset> &p_preset) {}

bool ExportTemplateManager::can_install_android_template(const Ref<EditorExportPreset> &p_preset) {}

Error ExportTemplateManager::install_android_template(const Ref<EditorExportPreset> &p_preset) {}

Error ExportTemplateManager::install_android_template_from_file(const String &p_file, const Ref<EditorExportPreset> &p_preset) {}

void ExportTemplateManager::_notification(int p_what) {}

ExportTemplateManager::ExportTemplateManager() {}