Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ED_asset_catalog.h « asset « editors « blender « source - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 04df381bec991a16a64d1c845eaed7f575b095ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* SPDX-License-Identifier: GPL-2.0-or-later */

/** \file
 * \ingroup edasset
 *
 * Supplement for `ED_asset_catalog.hh`. Part of the same API but usable in C.
 */

#pragma once

#include "BLI_utildefines.h"

#ifdef __cplusplus
extern "C" {
#endif

struct AssetLibrary;
struct Main;

void ED_asset_catalogs_save_from_main_path(struct AssetLibrary *library, const struct Main *bmain);

void ED_asset_catalogs_set_save_catalogs_when_file_is_saved(bool should_save);
bool ED_asset_catalogs_get_save_catalogs_when_file_is_saved(void);

#ifdef __cplusplus
}
#endif