Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/asset/ED_asset_handle.h
- This file was copied from source/blender/editors/include/ED_asset.h.
| Show All 9 Lines | |||||
| * GNU General Public License for more details. | * GNU General Public License for more details. | ||||
| * | * | ||||
| * You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
| * along with this program; if not, write to the Free Software Foundation, | * along with this program; if not, write to the Free Software Foundation, | ||||
| * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||||
| */ | */ | ||||
| /** \file | /** \file | ||||
| * \ingroup editors | * \ingroup edasset | ||||
| */ | */ | ||||
| #pragma once | #pragma once | ||||
| #include "DNA_ID_enums.h" | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| bool ED_asset_mark_id(const struct bContext *C, struct ID *id); | struct AssetHandle; | ||||
| bool ED_asset_clear_id(struct ID *id); | struct AssetLibraryReference; | ||||
| struct bContext; | |||||
| bool ED_asset_can_make_single_from_context(const struct bContext *C); | |||||
| const char *ED_asset_handle_get_name(const struct AssetHandle *asset); | |||||
| void ED_operatortypes_asset(void); | struct AssetMetaData *ED_asset_handle_get_metadata(const struct AssetHandle *asset); | ||||
| struct ID *ED_asset_handle_get_local_id(const struct AssetHandle *asset); | |||||
| ID_Type ED_asset_handle_get_id_type(const struct AssetHandle *asset); | |||||
| int ED_asset_handle_get_preview_icon_id(const struct AssetHandle *asset); | |||||
| void ED_asset_handle_get_full_library_path(const struct bContext *C, | |||||
| const struct AssetLibraryReference *asset_library, | |||||
| const struct AssetHandle *asset, | |||||
| char r_full_lib_path[]); | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||