Changeset View
Changeset View
Standalone View
Standalone View
source/blender/asset_system/AS_asset_catalog.hh
- This file was moved from source/blender/blenkernel/BKE_asset_catalog.hh.
| /* SPDX-License-Identifier: GPL-2.0-or-later */ | /* SPDX-License-Identifier: GPL-2.0-or-later */ | ||||
| /** \file | /** \file | ||||
| * \ingroup bke | * \ingroup asset_system | ||||
| */ | */ | ||||
| #pragma once | #pragma once | ||||
| #ifndef __cplusplus | |||||
| # error This is a C++ header. The C interface is yet to be implemented/designed. | |||||
| #endif | |||||
| #include "BLI_function_ref.hh" | #include "BLI_function_ref.hh" | ||||
| #include "BLI_map.hh" | #include "BLI_map.hh" | ||||
| #include "BLI_set.hh" | #include "BLI_set.hh" | ||||
| #include "BLI_string_ref.hh" | #include "BLI_string_ref.hh" | ||||
| #include "BLI_uuid.h" | #include "BLI_uuid.h" | ||||
| #include "BLI_vector.hh" | #include "BLI_vector.hh" | ||||
| #include "BKE_asset_catalog_path.hh" | #include "AS_asset_catalog_path.hh" | ||||
| #include <map> | #include <map> | ||||
| #include <memory> | #include <memory> | ||||
| #include <set> | #include <set> | ||||
| #include <string> | #include <string> | ||||
| namespace blender::bke { | namespace blender::asset_system { | ||||
| class AssetCatalog; | class AssetCatalog; | ||||
| class AssetCatalogCollection; | class AssetCatalogCollection; | ||||
| class AssetCatalogDefinitionFile; | class AssetCatalogDefinitionFile; | ||||
| class AssetCatalogFilter; | class AssetCatalogFilter; | ||||
| class AssetCatalogTree; | class AssetCatalogTree; | ||||
| using CatalogID = bUUID; | using CatalogID = bUUID; | ||||
| ▲ Show 20 Lines • Show All 480 Lines • ▼ Show 20 Lines | protected: | ||||
| friend AssetCatalogService; | friend AssetCatalogService; | ||||
| const Set<CatalogID> matching_catalog_ids; | const Set<CatalogID> matching_catalog_ids; | ||||
| const Set<CatalogID> known_catalog_ids; | const Set<CatalogID> known_catalog_ids; | ||||
| explicit AssetCatalogFilter(Set<CatalogID> &&matching_catalog_ids, | explicit AssetCatalogFilter(Set<CatalogID> &&matching_catalog_ids, | ||||
| Set<CatalogID> &&known_catalog_ids); | Set<CatalogID> &&known_catalog_ids); | ||||
| }; | }; | ||||
| } // namespace blender::bke | } // namespace blender::asset_system | ||||