Struct vst2::api::FileSelect [] [src]

#[repr(C)]
pub struct FileSelect { 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], }

File selector descriptor used in host::OpCode::OpenFileSelector.

Fields

The type of file selection to perform.

The file selector to open.

Unknown. 0 = no creator.

Number of file types.

List of file types to show.

File selector's title.

Initial path.

Used when operation returns a single path.

Size of the path buffer in bytes.

Used when operation returns multiple paths.

Number of paths returned.

Reserved by host.

Reserved for future use.