Blender V5.3
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
8
9#pragma once
10
11#include "WM_types.hh"
12
13#include "BLI_vector.hh"
14
15namespace blender {
16
17struct wmOperator;
18
19namespace bke {
20} // namespace bke
21
22namespace ed::io {
27wmOperatorStatus filesel_drop_import_invoke(bContext *C, wmOperator *op, const wmEvent *event);
28
29bool poll_file_object_drop(const bContext *C, bke::FileHandlerType *fh);
30
37Vector<std::string> paths_from_operator_properties(PointerRNA *ptr);
38void paths_to_operator_properties(PointerRNA *ptr, const Span<std::string> paths);
39} // namespace ed::io
40} // namespace blender
#define C
Definition RandGen.cpp:29
bool poll_file_object_drop(const bContext *C, bke::FileHandlerType *)
Definition io_utils.cc:62
Vector< std::string > paths_from_operator_properties(PointerRNA *ptr)
Definition io_utils.cc:79
void paths_to_operator_properties(PointerRNA *ptr, const Span< std::string > paths)
Definition io_utils.cc:121
wmOperatorStatus filesel_drop_import_invoke(bContext *C, wmOperator *op, const wmEvent *)
Definition io_utils.cc:30
BMesh Iterators.