Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/wm_files.h
| Show All 18 Lines | |||||
| /** \file | /** \file | ||||
| * \ingroup wm | * \ingroup wm | ||||
| */ | */ | ||||
| #pragma once | #pragma once | ||||
| struct Main; | struct Main; | ||||
| struct wmFileReadPost_Params; | |||||
| struct wmGenericCallback; | struct wmGenericCallback; | ||||
| struct wmOperatorType; | struct wmOperatorType; | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| extern "C" { | extern "C" { | ||||
| #endif | #endif | ||||
| /* wm_files.c */ | /* wm_files.c */ | ||||
| Show All 24 Lines | struct wmHomeFileRead_Params { | ||||
| * When not-null, this is written into the user preferences. | * When not-null, this is written into the user preferences. | ||||
| */ | */ | ||||
| const char *app_template_override; | const char *app_template_override; | ||||
| }; | }; | ||||
| void wm_homefile_read_ex(struct bContext *C, | void wm_homefile_read_ex(struct bContext *C, | ||||
| const struct wmHomeFileRead_Params *params_homefile, | const struct wmHomeFileRead_Params *params_homefile, | ||||
| struct ReportList *reports, | struct ReportList *reports, | ||||
| bool *r_is_factory_startup); | struct wmFileReadPost_Params **r_params_file_read_post); | ||||
| void wm_homefile_read(struct bContext *C, | void wm_homefile_read(struct bContext *C, | ||||
| const struct wmHomeFileRead_Params *params_homefile, | const struct wmHomeFileRead_Params *params_homefile, | ||||
| struct ReportList *reports); | struct ReportList *reports); | ||||
| void wm_homefile_read_post(struct bContext *C, | |||||
| const struct wmFileReadPost_Params *params_file_read_post); | |||||
| void wm_file_read_report(bContext *C, struct Main *bmain); | void wm_file_read_report(bContext *C, struct Main *bmain); | ||||
| void wm_close_file_dialog(bContext *C, struct wmGenericCallback *post_action); | void wm_close_file_dialog(bContext *C, struct wmGenericCallback *post_action); | ||||
| bool wm_operator_close_file_dialog_if_needed(bContext *C, | bool wm_operator_close_file_dialog_if_needed(bContext *C, | ||||
| wmOperator *op, | wmOperator *op, | ||||
| wmGenericCallbackFn exec_fn); | wmGenericCallbackFn exec_fn); | ||||
| bool wm_file_or_image_is_modified(const Main *bmain, const wmWindowManager *wm); | bool wm_file_or_image_is_modified(const Main *bmain, const wmWindowManager *wm); | ||||
| Show All 27 Lines | |||||