Blender V4.5
BKE_library.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#pragma once
5
11
12#include "BLI_string_ref.hh"
13
14struct FileData;
15struct Library;
16struct ListBase;
17struct Main;
18struct UniqueName_Map;
19
21
23 /* Used for efficient calculations of unique names. */
25
26 FileData *filedata = nullptr;
27
36 char filepath_abs[1024] = "";
37
39 Library *parent = nullptr;
40
43
45 int temp_index = 0;
46
48 short versionfile = 0;
49 short subversionfile = 0;
50};
51
56
57}; // namespace blender::bke::library
58
79
80void BKE_library_filepath_set(Main *bmain, Library *lib, const char *filepath);
81
void BKE_library_filepath_set(Main *bmain, Library *lib, const char *filepath)
Definition library.cc:171
void BKE_library_main_rebuild_hierarchy(Main *bmain)
Definition library.cc:270
eLibrary_Tag
@ LIBRARY_IS_ASSET_EDIT_FILE
@ LIBRARY_ASSET_EDITABLE
@ LIBRARY_ASSET_FILE_WRITABLE
@ LIBRARY_TAG_RESYNC_REQUIRED
unsigned short ushort
Library * search_filepath_abs(ListBase *libraries, blender::StringRef filepath_abs)
Definition library.cc:359
static DynamicLibrary lib