Blender  V3.3
BKE_blender_copybuffer.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 #pragma once
3 
8 #include "BLI_sys_types.h"
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
14 struct ID;
15 struct Main;
16 struct ReportList;
17 struct bContext;
18 
19 /* Copy-buffer (wrapper for BKE_blendfile_write_partial). */
20 
24 void BKE_copybuffer_copy_begin(struct Main *bmain_src);
28 void BKE_copybuffer_copy_tag_ID(struct ID *id);
36 bool BKE_copybuffer_copy_end(struct Main *bmain_src,
37  const char *filename,
38  struct ReportList *reports);
49 bool BKE_copybuffer_read(struct Main *bmain_dst,
50  const char *libname,
51  struct ReportList *reports,
52  uint64_t id_types_mask);
67 int BKE_copybuffer_paste(struct bContext *C,
68  const char *libname,
69  int flag,
70  struct ReportList *reports,
71  uint64_t id_types_mask);
72 
73 #ifdef __cplusplus
74 }
75 #endif
bool BKE_copybuffer_copy_end(struct Main *bmain_src, const char *filename, struct ReportList *reports)
bool BKE_copybuffer_read(struct Main *bmain_dst, const char *libname, struct ReportList *reports, uint64_t id_types_mask)
void BKE_copybuffer_copy_begin(struct Main *bmain_src)
void BKE_copybuffer_copy_tag_ID(struct ID *id)
int BKE_copybuffer_paste(struct bContext *C, const char *libname, int flag, struct ReportList *reports, uint64_t id_types_mask)
#define C
Definition: RandGen.cpp:25
unsigned __int64 uint64_t
Definition: stdint.h:90
Definition: DNA_ID.h:368
Definition: BKE_main.h:121