Blender V5.0
io_utils.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2024 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
7#include "WM_types.hh"
8
9#include "BLI_vector.hh"
10
11struct wmOperator;
12
13namespace blender::bke {
14} // namespace blender::bke
15
16namespace blender::ed::io {
21wmOperatorStatus filesel_drop_import_invoke(bContext *C, wmOperator *op, const wmEvent *event);
22
23bool poll_file_object_drop(const bContext *C, blender::bke::FileHandlerType *fh);
24
31Vector<std::string> paths_from_operator_properties(PointerRNA *ptr);
32void paths_to_operator_properties(PointerRNA *ptr, const Span<std::string> paths);
33} // namespace blender::ed::io
struct wmOperator wmOperator
#define C
Definition RandGen.cpp:29
bool poll_file_object_drop(const bContext *C, blender::bke::FileHandlerType *)
Definition io_utils.cc:58
Vector< std::string > paths_from_operator_properties(PointerRNA *ptr)
Definition io_utils.cc:75
void paths_to_operator_properties(PointerRNA *ptr, const Span< std::string > paths)
Definition io_utils.cc:117
wmOperatorStatus filesel_drop_import_invoke(bContext *C, wmOperator *op, const wmEvent *)
Definition io_utils.cc:26
PointerRNA * ptr
Definition wm_files.cc:4238