Blender V5.3
preferences_on_disk_library.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2024 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
8
9#pragma once
10
11#include "common.hh"
12
13#include "on_disk_library.hh"
14
15namespace blender::asset_system {
16
19 UserAssetLibraryWrapper user_library_;
20
21 public:
23
24 std::optional<AssetLibraryReference> library_reference() const override;
25 const bUserAssetLibrary *user_asset_library() const override;
26 std::optional<eAssetImportMethod> import_method() const override;
27 bool use_relative_paths() const override;
28 bool is_enabled() const override;
29};
30
31} // namespace blender::asset_system
OnDiskAssetLibrary(eAssetLibraryType library_type, StringRef name, StringRef root_path, bool is_read_only)
PreferencesOnDiskAssetLibrary(const bUserAssetLibrary &user_asset_library)
const bUserAssetLibrary * user_asset_library() const override
std::optional< eAssetImportMethod > import_method() const override
std::optional< AssetLibraryReference > library_reference() const override