godot/editor/editor_undo_redo_manager.cpp

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

#include "core/io/resource.h"
#include "core/os/os.h"
#include "core/templates/local_vector.h"
#include "editor/debugger/editor_debugger_inspector.h"
#include "editor/debugger/editor_debugger_node.h"
#include "editor/editor_log.h"
#include "editor/editor_node.h"
#include "scene/main/node.h"

EditorUndoRedoManager *EditorUndoRedoManager::singleton =;

EditorUndoRedoManager::History &EditorUndoRedoManager::get_or_create_history(int p_idx) {}

UndoRedo *EditorUndoRedoManager::get_history_undo_redo(int p_idx) const {}

int EditorUndoRedoManager::get_history_id_for_object(Object *p_object) const {}

EditorUndoRedoManager::History &EditorUndoRedoManager::get_history_for_object(Object *p_object) {}

void EditorUndoRedoManager::force_fixed_history() {}

void EditorUndoRedoManager::create_action_for_history(const String &p_name, int p_history_id, UndoRedo::MergeMode p_mode, bool p_backward_undo_ops) {}

void EditorUndoRedoManager::create_action(const String &p_name, UndoRedo::MergeMode p_mode, Object *p_custom_context, bool p_backward_undo_ops) {}

void EditorUndoRedoManager::add_do_methodp(Object *p_object, const StringName &p_method, const Variant **p_args, int p_argcount) {}

void EditorUndoRedoManager::add_undo_methodp(Object *p_object, const StringName &p_method, const Variant **p_args, int p_argcount) {}

void EditorUndoRedoManager::_add_do_method(const Variant **p_args, int p_argcount, Callable::CallError &r_error) {}

void EditorUndoRedoManager::_add_undo_method(const Variant **p_args, int p_argcount, Callable::CallError &r_error) {}

void EditorUndoRedoManager::add_do_property(Object *p_object, const StringName &p_property, const Variant &p_value) {}

void EditorUndoRedoManager::add_undo_property(Object *p_object, const StringName &p_property, const Variant &p_value) {}

void EditorUndoRedoManager::add_do_reference(Object *p_object) {}

void EditorUndoRedoManager::add_undo_reference(Object *p_object) {}

void EditorUndoRedoManager::commit_action(bool p_execute) {}

bool EditorUndoRedoManager::is_committing_action() const {}

bool EditorUndoRedoManager::undo() {}

bool EditorUndoRedoManager::undo_history(int p_id) {}

bool EditorUndoRedoManager::redo() {}

bool EditorUndoRedoManager::redo_history(int p_id) {}

void EditorUndoRedoManager::set_history_as_saved(int p_id) {}

void EditorUndoRedoManager::set_history_as_unsaved(int p_id) {}

bool EditorUndoRedoManager::is_history_unsaved(int p_id) {}

bool EditorUndoRedoManager::has_undo() {}

bool EditorUndoRedoManager::has_redo() {}

bool EditorUndoRedoManager::has_history(int p_idx) const {}

void EditorUndoRedoManager::clear_history(int p_idx, bool p_increase_version) {}

String EditorUndoRedoManager::get_current_action_name() {}

int EditorUndoRedoManager::get_current_action_history_id() {}

void EditorUndoRedoManager::discard_history(int p_idx, bool p_erase_from_map) {}

EditorUndoRedoManager::History *EditorUndoRedoManager::_get_newest_undo() {}

void EditorUndoRedoManager::_bind_methods() {}

EditorUndoRedoManager *EditorUndoRedoManager::get_singleton() {}

EditorUndoRedoManager::EditorUndoRedoManager() {}

EditorUndoRedoManager::~EditorUndoRedoManager() {}