Struct vst::api::FileSelect
source · #[repr(C)]pub struct FileSelect {Show 13 fields
pub command: FileSelectCommand,
pub select_type: FileSelectType,
pub mac_creator: i32,
pub num_types: i32,
pub file_types: *mut FileType,
pub title: [u8; 1024],
pub initial_path: *mut u8,
pub return_path: *mut u8,
pub size_return_path: i32,
pub return_multiple_paths: *mut *mut u8,
pub num_paths: i32,
pub reserved: isize,
pub future: [u8; 116],
}
Expand description
File selector descriptor used in host::OpCode::OpenFileSelector
.
Fields§
§command: FileSelectCommand
The type of file selection to perform.
select_type: FileSelectType
The file selector to open.
mac_creator: i32
Unknown. 0 = no creator.
num_types: i32
Number of file types.
file_types: *mut FileType
List of file types to show.
title: [u8; 1024]
File selector’s title.
initial_path: *mut u8
Initial path.
return_path: *mut u8
Used when operation returns a single path.
size_return_path: i32
Size of the path buffer in bytes.
return_multiple_paths: *mut *mut u8
Used when operation returns multiple paths.
num_paths: i32
Number of paths returned.
reserved: isize
Reserved by host.
future: [u8; 116]
Reserved for future use.