diff options
author | Bastien Montagne <b.mont29@gmail.com> | 2020-02-10 17:55:43 +0300 |
---|---|---|
committer | Bastien Montagne <b.mont29@gmail.com> | 2020-02-10 17:56:11 +0300 |
commit | ec6fcac62856d7008ddc0af6575ec5fbad4fc363 (patch) | |
tree | 4660e48cc6ce8c899bdfe0590c6d0a15ff443bce /source/blender/blenkernel/intern/lib_intern.h | |
parent | f8df6286c2c05d8480f84d5e5640c4bcb46aa4ad (diff) |
Cleanup/Refactor: Move ID deletion into its own .c file.
Having functions defined in `BKE_lib_id.h` implemented into
`lib_remap.c` was confusing at best.
Besides trivial code splitting and header includes cleanup, had to add a
new `lib_intern.h` header for callbacks used by both remapping and
deletion code.
Diffstat (limited to 'source/blender/blenkernel/intern/lib_intern.h')
-rw-r--r-- | source/blender/blenkernel/intern/lib_intern.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/lib_intern.h b/source/blender/blenkernel/intern/lib_intern.h new file mode 100644 index 00000000000..c0568bca964 --- /dev/null +++ b/source/blender/blenkernel/intern/lib_intern.h @@ -0,0 +1,33 @@ +/* + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + * The Original Code is Copyright (C) 2018 by Blender Foundation. + * All rights reserved. + */ + +/** \file + * \ingroup bke + */ + +#ifndef __LIB_ID_INTERN_H__ +#define __LIB_ID_INTERN_H__ + +extern BKE_library_free_window_manager_cb free_windowmanager_cb; + +extern BKE_library_free_notifier_reference_cb free_notifier_reference_cb; + +extern BKE_library_remap_editor_id_reference_cb remap_editor_id_reference_cb; + +#endif /* __LIB_ID_INTERN_H__ */ |