Blender V4.3
BKE_blender_undo.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2023 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4#pragma once
5
10#include "BKE_undo_system.hh"
11
12struct Main;
13struct MemFileUndoData;
14struct bContext;
15
16#define BKE_UNDO_STR_MAX 64
17
20 eUndoStepDir undo_direction,
21 bool use_old_bmain_data,
22 bContext *C);
bool BKE_memfile_undo_decode(MemFileUndoData *mfu, eUndoStepDir undo_direction, bool use_old_bmain_data, bContext *C)
MemFileUndoData * BKE_memfile_undo_encode(Main *bmain, MemFileUndoData *mfu_prev)
void BKE_memfile_undo_free(MemFileUndoData *mfu)
eUndoStepDir