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: FileSelectCommandThe type of file selection to perform.
select_type: FileSelectTypeThe file selector to open.
mac_creator: i32Unknown. 0 = no creator.
num_types: i32Number of file types.
file_types: *mut FileTypeList of file types to show.
title: [u8; 1024]File selector’s title.
initial_path: *mut u8Initial path.
return_path: *mut u8Used when operation returns a single path.
size_return_path: i32Size of the path buffer in bytes.
return_multiple_paths: *mut *mut u8Used when operation returns multiple paths.
num_paths: i32Number of paths returned.
reserved: isizeReserved by host.
future: [u8; 116]Reserved for future use.