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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Molenkamp <github@lazydodo.com>2021-04-25 03:14:15 +0300
committerRay Molenkamp <github@lazydodo.com>2021-04-25 03:14:15 +0300
commit05dddb71b098027cb36657120b946ff178ae0549 (patch)
tree5a86248e8b425081d39a3c99bee998cd0baa4eed /source/blender/editors/space_info/info_intern.h
parent3a6f481d5a73bd2f35877394f2c4362697572663 (diff)
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.
Diffstat (limited to 'source/blender/editors/space_info/info_intern.h')
-rw-r--r--source/blender/editors/space_info/info_intern.h66
1 files changed, 66 insertions, 0 deletions
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);