All pastes #73291 Raw Edit

Stuff

public text v1 · immutable
#73291 ·published 2006-06-27 17:59 UTC
rendered paste body
*************** enum VstModifierKey

*** 915,935 ****
  //---Used by audioMasterOpenFileSelector-----------

  struct VstFileType

  {

- 	VstFileType (char* _name, char *_macType, char *_dosType, char *_unixType = 0, char *_mimeType1 = 0, char *_mimeType2 = 0)

- 	{

- 		if (_name)

- 			strcpy (name, _name);

- 		if (_macType)

- 			strcpy (macType, _macType);

- 		if (_dosType)

- 			strcpy (dosType, _dosType);

- 		if (_unixType)

- 			strcpy (unixType, _unixType);

- 		if (_mimeType1)

- 			strcpy (mimeType1, _mimeType1);

- 		if (_mimeType2)

- 			strcpy (mimeType2, _mimeType2);

- 	}

  	char name[128];

  	char macType[8];

  	char dosType[8];

--- 915,920 ----
  //---Used by audioMasterOpenFileSelector-----------

  struct VstFileType

  {

  	char name[128];

  	char macType[8];

  	char dosType[8];

*************** struct VstFileSelect

*** 946,952 ****
  	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

  

--- 931,937 ----
  	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