VstFileSelect

#include <>

struct VstFileSelect;

Defined in the VST 2.2, this is used with the function openFileSelector.

{
long command; // see enum kVstFileLoad....
long type; // see enum kVstFileType...

long macCreator; // optional: 0 = no creator

long nbFileTypes; // nb of fileTypes to used
VstFileType *fileTypes; // list of fileTypes

char title[1024]; // text display in the file selector's title

char *initialPath; // initial path

char *returnPath; // use with kVstFileLoad and kVstDirectorySelect
// if null is passed, the host will allocated memory
// the plugin should then called closeOpenFileSelector for freeing memory
long sizeReturnPath;

char **returnMultiplePaths; // use with kVstMultipleFilesLoad
// the host allocates this array. The plugin should then called closeOpenFileSelector for freeing memory
long nbReturnPath; // number of selected paths

long reserved; // reserved for host application
char future[116]; // future use
};

enum {
kVstFileLoad = 0,
kVstFileSave,
kVstMultipleFilesLoad,
kVstDirectorySelect,

kVstFileType = 0
};

Copyright ©2003 Steinberg Media Technologies GmbH. All Rights Reserved.