|
Blender V4.3
|
Public Attributes | |
| FileDirEntryArr | filelist |
| eFileSelectType | type |
| AssetLibraryReference * | asset_library_ref |
| asset_system::AssetLibrary * | asset_library |
| short | flags |
| short | sort |
| FileListFilter | filter_data |
| const FileIndexerType * | indexer |
| FileListIntern | filelist_intern |
| FileListEntryCache | filelist_cache |
| GHash * | selection_state |
| short | max_recursion |
| short | recursion_level |
| BlendHandle * | libfiledata |
| bool(* | check_dir_fn )(const FileList *filelist, char dirpath[FILE_MAX_LIBEXTRA], const bool do_change) |
| void(* | read_job_fn )(FileListReadJob *job_params, bool *stop, bool *do_update, float *progress) |
| bool(* | filter_fn )(FileListInternEntry *file, const char *root, FileListFilter *filter) |
| void(* | prepare_filter_fn )(const FileList *filelist, FileListFilter *filter) |
| short | tags |
Definition at line 233 of file filelist.cc.
| asset_system::AssetLibrary* FileList::asset_library |
Definition at line 239 of file filelist.cc.
Referenced by filelist_asset_library(), filelist_clear_asset_library(), filelist_intern_entry_free(), filelist_islibrary(), filelist_readjob_all_asset_library(), filelist_readjob_load_asset_library_data(), filelist_readjob_update(), and prepare_filter_asset_library().
| AssetLibraryReference* FileList::asset_library_ref |
Definition at line 238 of file filelist.cc.
Referenced by filelist_contains_main(), filelist_free(), filelist_jobtype_get(), filelist_readjob_asset_library(), filelist_readjob_load_asset_library_data(), filelist_readjob_start(), filelist_readjob_startjob(), filelist_setdir(), and filelist_setlibrary().
| bool(* FileList::check_dir_fn) (const FileList *filelist, char dirpath[FILE_MAX_LIBEXTRA], const bool do_change) |
Set given path as root directory.
| do_change | When true, the callback may change given string in place to a valid value. |
dirpath is valid. Definition at line 279 of file filelist.cc.
Referenced by filelist_is_dir(), filelist_setdir(), and filelist_settype().
| FileDirEntryArr FileList::filelist |
Definition at line 234 of file filelist.cc.
Referenced by filelist_clear_ex(), filelist_clear_main_files(), filelist_contains_main(), filelist_dir(), filelist_entries_select_index_range_set(), filelist_file_cache_block(), filelist_file_ex(), filelist_file_find_id(), filelist_file_find_path(), filelist_files_ensure(), filelist_files_num_entries(), filelist_filter(), filelist_islibrary(), filelist_needs_reading(), filelist_new(), filelist_readjob_all_asset_library(), filelist_readjob_append_entries(), filelist_readjob_asset_library(), filelist_readjob_do(), filelist_readjob_free(), filelist_readjob_main_assets(), filelist_readjob_main_assets_add_items(), filelist_readjob_recursive_dir_add_items(), filelist_readjob_start(), filelist_readjob_startjob(), filelist_readjob_update(), and filelist_setdir().
| FileListEntryCache FileList::filelist_cache |
Definition at line 254 of file filelist.cc.
Referenced by filelist_cache_previews_done(), filelist_cache_previews_enabled(), filelist_cache_previews_ensure_running(), filelist_cache_previews_push(), filelist_cache_previews_running(), filelist_cache_previews_set(), filelist_cache_previews_update(), filelist_clear_ex(), filelist_clear_main_files(), filelist_file_cache_block(), filelist_file_cache_block_create(), filelist_file_cache_block_release(), filelist_file_cache_slidingwindow_set(), filelist_file_create_entry(), filelist_file_ex(), filelist_file_release_entry(), filelist_filter(), filelist_free(), filelist_new(), and filelist_readjob_startjob().
| FileListIntern FileList::filelist_intern |
Definition at line 252 of file filelist.cc.
Referenced by filelist_cache_previews_push(), filelist_entry_intern_get(), filelist_entry_is_selected(), filelist_file_create_entry(), filelist_file_ensure_preview_requested(), filelist_file_find_id(), filelist_file_find_path(), filelist_filter(), filelist_intern_free(), filelist_intern_free_main_files(), filelist_readjob_startjob(), filelist_readjob_update(), filelist_sort(), and filelist_uid_generate().
| FileListFilter FileList::filter_data |
Definition at line 245 of file filelist.cc.
Referenced by filelist_clear_asset_library(), filelist_entry_parent_select_set(), filelist_filter(), filelist_free(), filelist_readjob_recursive_dir_add_items(), filelist_readjob_startjob(), filelist_set_asset_catalog_filter_options(), and filelist_setfilter_options().
| bool(* FileList::filter_fn) (FileListInternEntry *file, const char *root, FileListFilter *filter) |
Filter an entry of current filelist.
Definition at line 287 of file filelist.cc.
Referenced by filelist_filter(), and filelist_settype().
| short FileList::flags |
Definition at line 241 of file filelist.cc.
Referenced by filelist_cache_previews_set(), filelist_clear_from_reset_tag(), filelist_file_cache_block(), filelist_filter(), filelist_free(), filelist_is_ready(), filelist_needs_force_reset(), filelist_pending(), filelist_readjob_endjob(), filelist_readjob_start(), filelist_readjob_update(), filelist_set_no_preview_auto_cache(), filelist_setdir(), filelist_setlibrary(), filelist_setrecursion(), filelist_setsorting(), filelist_settype(), filelist_sort(), filelist_tag_force_reset(), filelist_tag_force_reset_mainfiles(), and filelist_tag_needs_filtering().
| const FileIndexerType* FileList::indexer |
File indexer to use. Attribute is always set.
Definition at line 250 of file filelist.cc.
Referenced by filelist_readjob_recursive_dir_add_items(), filelist_setindexer(), and filelist_settype().
| BlendHandle* FileList::libfiledata |
Definition at line 271 of file filelist.cc.
Referenced by filelist_freelib(), filelist_lib(), and filelist_readjob_startjob().
| short FileList::max_recursion |
Definition at line 268 of file filelist.cc.
Referenced by filelist_filter(), filelist_readjob_recursive_dir_add_items(), and filelist_setrecursion().
| void(* FileList::prepare_filter_fn) (const FileList *filelist, FileListFilter *filter) |
Executed before filtering individual items, to set up additional filter data.
Definition at line 289 of file filelist.cc.
Referenced by filelist_filter(), and filelist_settype().
| void(* FileList::read_job_fn) (FileListReadJob *job_params, bool *stop, bool *do_update, float *progress) |
Fill filelist (to be called by read job).
Definition at line 284 of file filelist.cc.
Referenced by filelist_readjob_startjob(), and filelist_settype().
| short FileList::recursion_level |
Definition at line 269 of file filelist.cc.
| GHash* FileList::selection_state |
We need to keep those info outside of actual file-list items, because those are no more persistent (only generated on demand, and freed as soon as possible). Persistent part (mere list of paths + stat info) is kept as small as possible, and file-browser agnostic.
Definition at line 266 of file filelist.cc.
Referenced by filelist_clear_ex(), filelist_clear_main_files(), filelist_entry_is_selected(), filelist_entry_select_get(), filelist_entry_select_set(), filelist_free(), filelist_new(), and filelist_readjob_startjob().
| short FileList::sort |
Definition at line 243 of file filelist.cc.
Referenced by filelist_setsorting(), and filelist_sort().
| short FileList::tags |
Definition at line 292 of file filelist.cc.
Referenced by filelist_clear_main_files(), filelist_needs_reset_on_main_changes(), filelist_readjob_start(), filelist_settype(), and filelist_tag_force_reset_mainfiles().
| eFileSelectType FileList::type |
Definition at line 236 of file filelist.cc.
Referenced by filelist_settype().