godot/core/object/undo_redo.cpp

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

#include "core/io/resource.h"
#include "core/os/os.h"
#include "core/templates/local_vector.h"

void UndoRedo::Operation::delete_reference() {}

void UndoRedo::_discard_redo() {}

bool UndoRedo::_redo(bool p_execute) {}

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

void UndoRedo::add_do_method(const Callable &p_callable) {}

void UndoRedo::add_undo_method(const Callable &p_callable) {}

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

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

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

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

void UndoRedo::start_force_keep_in_merge_ends() {}

void UndoRedo::end_force_keep_in_merge_ends() {}

void UndoRedo::_pop_history_tail() {}

bool UndoRedo::is_committing_action() const {}

void UndoRedo::commit_action(bool p_execute) {}

void UndoRedo::_process_operation_list(List<Operation>::Element *E, bool p_execute) {}

bool UndoRedo::redo() {}

bool UndoRedo::undo() {}

int UndoRedo::get_history_count() {}

int UndoRedo::get_current_action() {}

String UndoRedo::get_action_name(int p_id) {}

void UndoRedo::clear_history(bool p_increase_version) {}

String UndoRedo::get_current_action_name() const {}

int UndoRedo::get_action_level() const {}

bool UndoRedo::has_undo() const {}

bool UndoRedo::has_redo() const {}

bool UndoRedo::is_merging() const {}

uint64_t UndoRedo::get_version() const {}

void UndoRedo::set_max_steps(int p_max_steps) {}

int UndoRedo::get_max_steps() const {}

void UndoRedo::set_commit_notify_callback(CommitNotifyCallback p_callback, void *p_ud) {}

void UndoRedo::set_method_notify_callback(MethodNotifyCallback p_method_callback, void *p_ud) {}

void UndoRedo::set_property_notify_callback(PropertyNotifyCallback p_property_callback, void *p_ud) {}

UndoRedo::~UndoRedo() {}

void UndoRedo::_bind_methods() {}