Blender V5.0
BLO_writefile.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2001-2002 NaN Holding BV. All rights reserved.
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
11
12#include "BLI_sys_types.h"
13
14struct BlendThumbnail;
15struct Main;
16struct MemFile;
17struct ReportList;
18
19/* -------------------------------------------------------------------- */
24
38
49
53extern bool BLO_write_file(Main *mainvar,
54 const char *filepath,
55 int write_flags,
57 ReportList *reports);
58
62extern bool BLO_write_file_mem(Main *mainvar, MemFile *compare, MemFile *current, int write_flags);
63
unsigned int uint
bool BLO_write_file(Main *mainvar, const char *filepath, int write_flags, const BlendFileWriteParams *params, ReportList *reports)
eBLO_WritePathRemap
@ BLO_WRITE_PATH_REMAP_NONE
@ BLO_WRITE_PATH_REMAP_RELATIVE_ALL
@ BLO_WRITE_PATH_REMAP_ABSOLUTE
@ BLO_WRITE_PATH_REMAP_RELATIVE
bool BLO_write_file_mem(Main *mainvar, MemFile *compare, MemFile *current, int write_flags)
uiWidgetBaseParameters params[MAX_WIDGET_BASE_BATCH]
const BlendThumbnail * thumb
eBLO_WritePathRemap remap_mode