Blender  V3.3
ED_asset_catalog.hh
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 
12 #pragma once
13 
14 #include <optional>
15 
16 #include "BKE_asset_catalog.hh"
17 
18 #include "BLI_string_ref.hh"
19 
20 struct AssetLibrary;
21 namespace blender::bke {
22 class AssetCatalog;
23 } // namespace blender::bke
24 
27  blender::StringRef parent_path = nullptr);
29 
31  blender::bke::CatalogID catalog_id,
32  blender::StringRefNull new_name);
46  blender::bke::CatalogID src_catalog_id,
47  std::optional<blender::bke::CatalogID> dst_parent_catalog_id = std::nullopt);
struct AssetLibrary AssetLibrary
void ED_asset_catalog_remove(AssetLibrary *library, const blender::bke::CatalogID &catalog_id)
void ED_asset_catalog_move(AssetLibrary *library, blender::bke::CatalogID src_catalog_id, std::optional< blender::bke::CatalogID > dst_parent_catalog_id=std::nullopt)
blender::bke::AssetCatalog * ED_asset_catalog_add(AssetLibrary *library, blender::StringRefNull name, blender::StringRef parent_path=nullptr)
void ED_asset_catalog_rename(AssetLibrary *library, blender::bke::CatalogID catalog_id, blender::StringRefNull new_name)
Universally Unique Identifier according to RFC4122.
static FT_Library library