From 05dddb71b098027cb36657120b946ff178ae0549 Mon Sep 17 00:00:00 2001 From: Ray Molenkamp Date: Sat, 24 Apr 2021 18:14:15 -0600 Subject: Revert "Info Editor: move to c++" This reverts commit 9cce18a5858cb93da626f5f0fd7e09cd66637e05. rB9cce18a5858c broke the build in unforeseen ways, not easily fixable. revert for now, so master will at least build again. --- source/blender/editors/space_info/info_intern.h | 66 +++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 source/blender/editors/space_info/info_intern.h (limited to 'source/blender/editors/space_info/info_intern.h') diff --git a/source/blender/editors/space_info/info_intern.h b/source/blender/editors/space_info/info_intern.h new file mode 100644 index 00000000000..a19ebe5ef04 --- /dev/null +++ b/source/blender/editors/space_info/info_intern.h @@ -0,0 +1,66 @@ +/* + * 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) 2008 Blender Foundation. + * All rights reserved. + */ + +/** \file + * \ingroup spinfo + */ + +#pragma once + +/* internal exports only */ + +struct ReportList; +struct SpaceInfo; +struct wmOperatorType; + +void FILE_OT_autopack_toggle(struct wmOperatorType *ot); +void FILE_OT_pack_all(struct wmOperatorType *ot); +void FILE_OT_unpack_all(struct wmOperatorType *ot); +void FILE_OT_unpack_item(struct wmOperatorType *ot); +void FILE_OT_pack_libraries(struct wmOperatorType *ot); +void FILE_OT_unpack_libraries(struct wmOperatorType *ot); + +void FILE_OT_make_paths_relative(struct wmOperatorType *ot); +void FILE_OT_make_paths_absolute(struct wmOperatorType *ot); +void FILE_OT_report_missing_files(struct wmOperatorType *ot); +void FILE_OT_find_missing_files(struct wmOperatorType *ot); + +void INFO_OT_reports_display_update(struct wmOperatorType *ot); + +/* info_draw.c */ +void *info_text_pick(const struct SpaceInfo *sinfo, + const struct ARegion *region, + const struct ReportList *reports, + int mouse_y); +int info_textview_height(const struct SpaceInfo *sinfo, + const struct ARegion *region, + const struct ReportList *reports); +void info_textview_main(const struct SpaceInfo *sinfo, + const struct ARegion *region, + const struct ReportList *reports); + +/* info_report.c */ +int info_report_mask(const struct SpaceInfo *sinfo); +void INFO_OT_select_pick(struct wmOperatorType *ot); /* report selection */ +void INFO_OT_select_all(struct wmOperatorType *ot); +void INFO_OT_select_box(struct wmOperatorType *ot); + +void INFO_OT_report_replay(struct wmOperatorType *ot); +void INFO_OT_report_delete(struct wmOperatorType *ot); +void INFO_OT_report_copy(struct wmOperatorType *ot); -- cgit v1.2.3